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

Christoph Hellwig hch at lst.de
Wed Jun 15 06:29:52 UTC 2022


On Tue, Jun 14, 2022 at 10:32:11AM +0000, Tian, Kevin wrote:
> > Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
> > [count instances per-parent instead of per-type]
> 
> per-parent counting works only if the parent doesn't have overlapping
> instances between types. This is probably worth a clarification in doc.

Yes.  Two cases right now just have a single type, and the third wants
this per-parent counting.  The original patch from Jason actually got
this wrong.


More information about the intel-gvt-dev mailing list