diff options
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2023-11-21 16:44:16 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-12-19 19:03:38 +0100 |
commit | 909a6254edaa8d0b0e3f1c0a623862e73d1842e9 (patch) | |
tree | dd1d2419001dc1f47ddedbe3661fd6921252a9b4 /accel | |
parent | e70f971a6c1230138843d7ab82267e4a5aaf6bda (diff) | |
download | qemu-909a6254edaa8d0b0e3f1c0a623862e73d1842e9.zip qemu-909a6254edaa8d0b0e3f1c0a623862e73d1842e9.tar.gz qemu-909a6254edaa8d0b0e3f1c0a623862e73d1842e9.tar.bz2 |
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>
Diffstat (limited to 'accel')
0 files changed, 0 insertions, 0 deletions