diff options
| author | Eric Auger <eric.auger@redhat.com> | 2024-07-01 10:48:57 +0200 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2024-07-09 11:50:37 +0200 |
| commit | d7c8c95fbca2e07d11b98fb1b191d7194d084c7e (patch) | |
| tree | d2cfe260cafcefab342fb1e7fbb5f5eee4523967 /python/qemu/qmp/protocol.py | |
| parent | 8fe0ebe15d7775be72b1aaceb7405b68d3ec6368 (diff) | |
| download | focaccia-qemu-d7c8c95fbca2e07d11b98fb1b191d7194d084c7e.tar.gz focaccia-qemu-d7c8c95fbca2e07d11b98fb1b191d7194d084c7e.zip | |
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 'python/qemu/qmp/protocol.py')
0 files changed, 0 insertions, 0 deletions