diff options
| author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2024-06-05 16:30:43 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2024-06-24 23:15:30 +0200 |
| commit | 77f6efc0ab93718da2bc3f908b7ff7fffa489ea1 (patch) | |
| tree | e2c340ee7f20da045db0cc6c1398c36a7410029a /hw/vfio/container.c | |
| parent | a20910ca3e283b10585c71061746ea6b1fa6ca91 (diff) | |
| download | focaccia-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