[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210310082805.29813cad@omen.home.shazbot.org>
Date: Wed, 10 Mar 2021 08:28:05 -0700
From: Alex Williamson <alex.williamson@...hat.com>
To: Jason Gunthorpe <jgg@...dia.com>
Cc: Christoph Hellwig <hch@...radead.org>, cohuck@...hat.com,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
peterx@...hat.com
Subject: Re: [PATCH v1 02/14] vfio: Update vfio_add_group_dev() API
On Wed, 10 Mar 2021 08:19:13 -0400
Jason Gunthorpe <jgg@...dia.com> wrote:
> On Wed, Mar 10, 2021 at 07:48:38AM +0000, Christoph Hellwig wrote:
> > On Mon, Mar 08, 2021 at 02:47:40PM -0700, Alex Williamson wrote:
> > > Rather than an errno, return a pointer to the opaque vfio_device
> > > to allow the bus driver to call into vfio-core without additional
> > > lookups and references. Note that bus drivers are still required
> > > to use vfio_del_group_dev() to teardown the vfio_device.
> > >
> > > Signed-off-by: Alex Williamson <alex.williamson@...hat.com>
> >
> > This looks like it is superseded by the
> >
> > vfio: Split creation of a vfio_device into init and register ops
>
> Yes, that series puts vfio_device everywhere so APIs like Alex needs
> to build here become trivial.
>
> The fact we both converged on this same requirement is good
You're ahead of me in catching up with reviews Christoph, but
considering stable backports and the motivations for each series, I'd
expect to initially make the minimal API change and build from there.
Thanks,
Alex
Powered by blists - more mailing lists