[PATCH v4 39/41] vfio/ccw: Make vfio cdev pre-openable by passing a file handle

2023-11-02 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. Opportunisticly, remove a redundant definition of TYPE_VFIO_CCW. Signed-off-by: Zhenzhong Duan --- hw/vfio/c

Re: [PATCH v4 39/41] vfio/ccw: Make vfio cdev pre-openable by passing a file handle

2023-11-07 Thread Cédric Le Goater
On 11/2/23 08:13, 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. Opportunisticly, remove a redundant definition of TYPE_VFIO_CCW. Sig