summary refs log tree commit diff stats
path: root/hw/vfio/container.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-06-05 16:30:43 +0800
committerCédric Le Goater <clg@redhat.com>2024-06-24 23:15:30 +0200
commit77f6efc0ab93718da2bc3f908b7ff7fffa489ea1 (patch)
treee2c340ee7f20da045db0cc6c1398c36a7410029a /hw/vfio/container.c
parenta20910ca3e283b10585c71061746ea6b1fa6ca91 (diff)
downloadfocaccia-qemu-77f6efc0ab93718da2bc3f908b7ff7fffa489ea1.tar.gz
focaccia-qemu-77f6efc0ab93718da2bc3f908b7ff7fffa489ea1.zip
intel_iommu: Check compatibility with host IOMMU capabilities
If check fails, host device (either VFIO or VDPA device) is not
compatible with current vIOMMU config and should not be passed to
guest.

Only aw_bits is checked for now, we don't care about other caps
before scalable modern mode is introduced.

Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/vfio/container.c')
0 files changed, 0 insertions, 0 deletions