All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: Jason Gunthorpe <jgg@nvidia.com>
Cc: "cohuck@redhat.com" <cohuck@redhat.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"farman@linux.ibm.com" <farman@linux.ibm.com>,
	"mjrosato@linux.ibm.com" <mjrosato@linux.ibm.com>,
	"pasic@linux.ibm.com" <pasic@linux.ibm.com>,
	"Tian, Kevin" <kevin.tian@intel.com>,
	Yishai Hadas <yishaih@nvidia.com>
Subject: Re: [PATCH RFC] vfio: Revise and update the migration uAPI description
Date: Wed, 19 Jan 2022 10:02:17 -0700	[thread overview]
Message-ID: <20220119100217.4aee7451.alex.williamson@redhat.com> (raw)
In-Reply-To: <20220119163821.GP84788@nvidia.com>

On Wed, 19 Jan 2022 12:38:21 -0400
Jason Gunthorpe <jgg@nvidia.com> wrote:

> On Wed, Jan 19, 2022 at 09:06:14AM -0700, Alex Williamson wrote:
> > On Wed, 19 Jan 2022 11:40:28 -0400
> > Jason Gunthorpe <jgg@nvidia.com> wrote:
> >   
> > > On Wed, Jan 19, 2022 at 08:32:22AM -0700, Alex Williamson wrote:
> > >   
> > > > If the order was to propose a new FSM uAPI compatible to the existing
> > > > bit definitions without the P2P states, then add a new ioctl and P2P
> > > > states, and require userspace to use the ioctl to validate support for
> > > > those new P2P states, I might be able to swallow that.    
> > > 
> > > That is what this achieves!
> > > 
> > > Are you really asking that we have to redo all the docs/etc again just
> > > to split them slightly differently into patches? What benefit is this
> > > make work to anyone?  
> > 
> > Only if you're really set on trying to claim compatibility with the
> > existing migration sub-type.  The simpler solution is to roll the
> > arc-supported ioctl into this proposal, bump the sub-type to v2 and  
> 
> How about we just order the arc-supported ioctl patch first, then the
> spec revision and include the language about how to use arc-supported
> that is currently in the arc-supported ioctl?
> 
> I'm still completely mystified why you think we need to bump the
> sub-type at all??
> 
> If you insist, but I'd like a good reason because I know it is going
> to hurt a bunch of people out there. ie can you point at something
> that is actually practically incompatible?

I'm equally as mystified who is going to break by bumping the sub-type.
QEMU support is experimental and does not properly handle multiple
devices.  I'm only aware of one proprietary driver that includes
migration code, but afaik it's not supported due to the status of QEMU.

Using a new sub-type allows us an opportunity to update QEMU to fully
support this new uAPI without any baggage to maintain support for the
v1 uAPI or risk breaking unknown users.

Minimally QEMU support needs to be marked non-experimental before I
feel like we're really going to "hurt a bunch of people", so it really
ought not to be an issue to revise support to the new uAPI at the same
time.

If a hypervisor vendor has chosen to run with experimental QEMU
support, it's on them to handle long term support and a transition plan
and I think that's also easier to do when it's clear whether the device
is exposing the original migration uAPI or the updated FSM model with
p2p states and an arc-supported ioctl.  Thanks,

Alex


  reply	other threads:[~2022-01-19 17:02 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-14 19:35 [PATCH RFC] vfio: Revise and update the migration uAPI description Jason Gunthorpe
2022-01-18 14:04 ` Yishai Hadas
2022-01-18 19:55 ` Alex Williamson
2022-01-18 21:00   ` Jason Gunthorpe
2022-01-19 11:40     ` Cornelia Huck
2022-01-19 12:44       ` Jason Gunthorpe
2022-01-19 13:42         ` Jason Gunthorpe
2022-01-19 14:59     ` Jason Gunthorpe
2022-01-19 15:32     ` Alex Williamson
2022-01-19 15:40       ` Jason Gunthorpe
2022-01-19 16:06         ` Alex Williamson
2022-01-19 16:38           ` Jason Gunthorpe
2022-01-19 17:02             ` Alex Williamson [this message]
2022-01-20  0:19               ` Jason Gunthorpe
2022-01-24 10:24                 ` Cornelia Huck
2022-01-24 17:57                   ` Jason Gunthorpe
2022-01-19 13:18   ` Jason Gunthorpe
2022-01-25  3:55 ` Tian, Kevin
2022-01-25 13:11   ` Jason Gunthorpe
2022-01-26  1:17     ` Tian, Kevin
2022-01-26  1:32       ` Jason Gunthorpe
2022-01-26  1:49         ` Tian, Kevin
2022-01-26 12:14           ` Jason Gunthorpe
2022-01-26 15:33             ` Jason Gunthorpe
2022-01-27  0:38               ` Tian, Kevin
2022-01-27  0:48                 ` Jason Gunthorpe
2022-01-27  1:03                   ` Tian, Kevin
2022-01-27  0:53             ` Tian, Kevin
2022-01-27  1:10               ` Jason Gunthorpe
2022-01-27  1:21                 ` Tian, Kevin
2022-01-26  1:35       ` Jason Gunthorpe
2022-01-26  1:58         ` Tian, Kevin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220119100217.4aee7451.alex.williamson@redhat.com \
    --to=alex.williamson@redhat.com \
    --cc=cohuck@redhat.com \
    --cc=farman@linux.ibm.com \
    --cc=jgg@nvidia.com \
    --cc=kevin.tian@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=mjrosato@linux.ibm.com \
    --cc=pasic@linux.ibm.com \
    --cc=yishaih@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.