aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2024-07-01 10:48:57 +0200
committerCédric Le Goater <clg@redhat.com>2024-07-09 11:50:37 +0200
commitd7c8c95fbca2e07d11b98fb1b191d7194d084c7e (patch)
treed2cfe260cafcefab342fb1e7fbb5f5eee4523967 /include
parent8fe0ebe15d7775be72b1aaceb7405b68d3ec6368 (diff)
downloadqemu-d7c8c95fbca2e07d11b98fb1b191d7194d084c7e.zip
qemu-d7c8c95fbca2e07d11b98fb1b191d7194d084c7e.tar.gz
qemu-d7c8c95fbca2e07d11b98fb1b191d7194d084c7e.tar.bz2
virtio-iommu : Retrieve page size mask on virtio_iommu_set_iommu_device()
Retrieve the Host IOMMU Device page size mask when this latter is set. This allows to get the information much sooner than when relying on IOMMU MR set_page_size_mask() call, whcih happens when the IOMMU MR gets enabled. We introduce check_page_size_mask() helper whose code is inherited from current virtio_iommu_set_page_size_mask() implementation. This callback will be removed in a subsequent patch. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions