qemu-e2k/backends
Eric Auger 6e6d8ac62b backends/iommufd: Introduce the iommufd object
Introduce an iommufd object which allows the interaction
with the host /dev/iommu device.

The /dev/iommu can have been already pre-opened outside of qemu,
in which case the fd can be passed directly along with the
iommufd object:

This allows the iommufd object to be shared accross several
subsystems (VFIO, VDPA, ...). For example, libvirt would open
the /dev/iommu once.

If no fd is passed along with the iommufd object, the /dev/iommu
is opened by the qemu code.

Suggested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2023-12-19 19:03:38 +01:00
..
tpm
confidential-guest-support.c
cryptodev-builtin.c
cryptodev-hmp-cmds.c
cryptodev-lkcf.c
cryptodev-vhost-user.c
cryptodev-vhost.c
cryptodev.c
dbus-vmstate1.xml
dbus-vmstate.c
hostmem-epc.c
hostmem-file.c
hostmem-memfd.c
hostmem-ram.c
hostmem.c
iommufd.c backends/iommufd: Introduce the iommufd object 2023-12-19 19:03:38 +01:00
Kconfig backends/iommufd: Introduce the iommufd object 2023-12-19 19:03:38 +01:00
meson.build backends/iommufd: Introduce the iommufd object 2023-12-19 19:03:38 +01:00
rng-builtin.c
rng-egd.c
rng-random.c
rng.c
trace-events backends/iommufd: Introduce the iommufd object 2023-12-19 19:03:38 +01:00
trace.h
vhost-user.c