On Wed, Oct 26, 2022 at 11:24 AM Jason Gunthorpe <jgg@xxxxxxxx> wrote: > I think the best approach is to change vfio_pci to understand that > open_count == 1 means it is the last close. Thanks for the feedback. I sent an updated patch. v2: https://lore.kernel.org/kvm/20221026194245.1769-1-ajderossi@xxxxxxxxx/ Anthony