diff options
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2023-11-21 16:44:12 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-12-19 19:03:38 +0100 |
commit | 3016e60f8f715d2058a48e4956be994482c5e218 (patch) | |
tree | bef9c45045df72c31ca1aca929eb2c90cff51389 /crypto/random-platform.c | |
parent | a6c50e1c3f8d0eb77edaea392e61508bb3c516f8 (diff) | |
download | qemu-3016e60f8f715d2058a48e4956be994482c5e218.zip qemu-3016e60f8f715d2058a48e4956be994482c5e218.tar.gz qemu-3016e60f8f715d2058a48e4956be994482c5e218.tar.bz2 |
vfio/platform: 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: Cédric Le Goater <clg@redhat.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'crypto/random-platform.c')
0 files changed, 0 insertions, 0 deletions