diff options
| author | Jean-Philippe Brucker | 2021-12-10 18:04:11 +0100 |
|---|---|---|
| committer | Peter Maydell | 2021-12-15 11:35:26 +0100 |
| commit | 80d28ccdb99de4f256f03977471dbf6544bb0df8 (patch) | |
| tree | 60335a0b5870509e223f35e063b1c6bc470abc0d /tests | |
| parent | hw/arm/virt: Remove device tree restriction for virtio-iommu (diff) | |
| download | qemu-80d28ccdb99de4f256f03977471dbf6544bb0df8.tar.gz qemu-80d28ccdb99de4f256f03977471dbf6544bb0df8.tar.xz qemu-80d28ccdb99de4f256f03977471dbf6544bb0df8.zip | |
hw/arm/virt: Reject instantiation of multiple IOMMUs
We do not support instantiating multiple IOMMUs. Before adding a
virtio-iommu, check that no other IOMMU is present. This will detect
both "iommu=smmuv3" machine parameter and another virtio-iommu instance.
Fixes: 70e89132c9 ("hw/arm/virt: Add the virtio-iommu device tree mappings")
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Message-id: 20211210170415.583179-4-jean-philippe@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
