Re: [PATCH v5 14/20] vfio/ap: Make vfio cdev pre-openable by passing a file handle

2023-11-09 Thread Matthew Rosato
On 11/9/23 6:45 AM, Zhenzhong Duan wrote: > This gives management tools like libvirt a chance to open the vfio > cdev with privilege and pass FD to qemu. This way qemu never needs > to have privilege to open a VFIO or iommu cdev node. > > Signed-off-by: Zhenzhong Duan Reviewed-by: Matthew Rosato

[PATCH v5 14/20] vfio/ap: Make vfio cdev pre-openable by passing a file handle

2023-11-09 Thread Zhenzhong Duan
This gives management tools like libvirt a chance to open the vfio cdev with privilege and pass FD to qemu. This way qemu never needs to have privilege to open a VFIO or iommu cdev node. Signed-off-by: Zhenzhong Duan --- hw/vfio/ap.c | 32 +++- 1 file changed, 31 inse