Re: [PATCH 10/13] vfio: Make vfio_device_open() exclusive between group path and device cdev path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 02, 2023 at 05:34:15AM +0000, Liu, Yi L wrote:

> This seems to be ok. The group path will attach the group to an auto-allocated
> iommu_domain, while the cdev path actually waits for userspace to
> attach it to an IOAS. Userspace should take care of it. It should ensure
> the devices in the same group should be attached to the same domain.

Aren't there problems when someone closes the group or device FD while
the other one is still open though?

Jason



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux