[PATCH 14/15] vfio/mdev: add mdev available instance checking to the core

Christoph Hellwig hch at lst.de
Fri Jul 8 05:48:36 UTC 2022


On Wed, Jul 06, 2022 at 11:08:57PM -0400, Eric Farman wrote:
> If I read this right, .get_available and .max_instances are mutually
> exclusive.

Yes.

> Which means that available_instances_show() from patch 12
> would need to emit parent->available_instances if .get_available is
> NULL.

Indeed.


More information about the intel-gvt-dev mailing list