aboutsummaryrefslogtreecommitdiff
path: root/crypto/random-platform.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2023-11-21 16:44:12 +0800
committerCédric Le Goater <clg@redhat.com>2023-12-19 19:03:38 +0100
commit3016e60f8f715d2058a48e4956be994482c5e218 (patch)
treebef9c45045df72c31ca1aca929eb2c90cff51389 /crypto/random-platform.c
parenta6c50e1c3f8d0eb77edaea392e61508bb3c516f8 (diff)
downloadqemu-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