aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-06-05 16:30:28 +0800
committerCédric Le Goater <clg@redhat.com>2024-06-24 23:15:30 +0200
commit38998c79a1831e23ffed4b8b6f76222c1fedb9d5 (patch)
tree90a24514f5619e5efa5c15dbfc5b1bf660f942d0 /hw
parent1f94b21801b22b01ba131e7d776f07c1062d9433 (diff)
downloadqemu-38998c79a1831e23ffed4b8b6f76222c1fedb9d5.zip
qemu-38998c79a1831e23ffed4b8b6f76222c1fedb9d5.tar.gz
qemu-38998c79a1831e23ffed4b8b6f76222c1fedb9d5.tar.bz2
backends/host_iommu_device: Introduce HostIOMMUDeviceCaps
HostIOMMUDeviceCaps's elements map to the host IOMMU's capabilities. Different platform IOMMU can support different elements. Currently only two elements, type and aw_bits, type hints the host platform IOMMU type, i.e., INTEL vtd, ARM smmu, etc; aw_bits hints host IOMMU address width. Introduce .get_cap() handler to check if HOST_IOMMU_DEVICE_CAP_XXX is supported. Suggested-by: Cédric Le Goater <clg@redhat.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')
0 files changed, 0 insertions, 0 deletions