summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
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 /docs/devel/secure-coding-practices.rst
parenta6c50e1c3f8d0eb77edaea392e61508bb3c516f8 (diff)
downloadfocaccia-qemu-3016e60f8f715d2058a48e4956be994482c5e218.tar.gz
focaccia-qemu-3016e60f8f715d2058a48e4956be994482c5e218.zip
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 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions