Re: [PATCH v1 14/18] vfio/mdev: Add mdev available instance checking to the core

Eric Farman
2022-06-13T18:15:37Z

On Mon, 2022-06-13 at 08:46 +0200, Christoph Hellwig wrote:
> On Fri, Jun 10, 2022 at 07:43:46AM +0000, Tian, Kevin wrote:
> > btw with those latest changes [1] we don't need .get_available()
> > then,
> > as mdev type is now added by mdev driver one-by-one then the
> > available instance can be provided directly in that path.
>
> Yes, we can probably add a helper to add the vailable attibrute,
> which
> takes the number of instances. Is it ok if I just add a version of
> this
> patch and the device_api one to my series, and we rebase this series
> on top of it? I'll try to get out a new version ASAP.

That's fine with me. Thanks!

Eric