diff options
author | Eric Auger <eric.auger@redhat.com> | 2023-10-19 15:45:13 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-11-03 09:20:31 +0100 |
commit | 908cae0de4fd63a58f5a7dc447f843a5be9cff46 (patch) | |
tree | 2a196f0fe050a70e808d002710f5178a1fc0c5d2 /include/hw/virtio | |
parent | c3104847363f4ac5d4e76e8ed637280f7be1ee68 (diff) | |
download | qemu-908cae0de4fd63a58f5a7dc447f843a5be9cff46.zip qemu-908cae0de4fd63a58f5a7dc447f843a5be9cff46.tar.gz qemu-908cae0de4fd63a58f5a7dc447f843a5be9cff46.tar.bz2 |
virtio-iommu: Introduce per IOMMUDevice reserved regions
For the time being the per device reserved regions are
just a duplicate of IOMMU wide reserved regions. Subsequent
patches will combine those with host reserved regions, if any.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Yanghang Liu <yanghliu@redhat.com>
Reviewed-by: "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include/hw/virtio')
-rw-r--r-- | include/hw/virtio/virtio-iommu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-iommu.h b/include/hw/virtio/virtio-iommu.h index eea4564..70b8ace 100644 --- a/include/hw/virtio/virtio-iommu.h +++ b/include/hw/virtio/virtio-iommu.h @@ -39,6 +39,7 @@ typedef struct IOMMUDevice { AddressSpace as; MemoryRegion root; /* The root container of the device */ MemoryRegion bypass_mr; /* The alias of shared memory MR */ + GList *resv_regions; } IOMMUDevice; typedef struct IOMMUPciBus { |