[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210310074838.GA662265@infradead.org>
Date: Wed, 10 Mar 2021 07:48:38 +0000
From: Christoph Hellwig <hch@...radead.org>
To: Alex Williamson <alex.williamson@...hat.com>
Cc: cohuck@...hat.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, jgg@...dia.com, peterx@...hat.com
Subject: Re: [PATCH v1 02/14] vfio: Update vfio_add_group_dev() API
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
patch from Jason, which provides a much nicer API.
Powered by blists - more mailing lists