Home
last modified time | relevance | path

Searched hist:"909 a6254edaa8d0b0e3f1c0a623862e73d1842e9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/vfio/
H A Dccw.cdiff 909a6254edaa8d0b0e3f1c0a623862e73d1842e9 Tue Nov 21 02:44:16 CST 2023 Zhenzhong Duan <zhenzhong.duan@intel.com> vfio/ccw: Make vfio cdev pre-openable by passing a file handle

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 <zhenzhong.duan@intel.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>