diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2024-09-03 17:22:17 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-09-05 13:12:36 +0100 |
commit | 8a934f1c4a115c41d1d56efd319f2085e401ad31 (patch) | |
tree | 84f49444742bece5b5093506ee70a70f75a6c74e /include/hw/arm | |
parent | 44df6d061386808052dfc490bb0158b011933d5e (diff) | |
download | qemu-8a934f1c4a115c41d1d56efd319f2085e401ad31.zip qemu-8a934f1c4a115c41d1d56efd319f2085e401ad31.tar.gz qemu-8a934f1c4a115c41d1d56efd319f2085e401ad31.tar.bz2 |
hw/arm/virt: Default to two-stage SMMU from virt-9.2
Now that our SMMU model supports enabling both stages of translation
at once, we can enable this in the virt board. This is no change in
behaviour for guests, because if they simply ignore stage 2 and never
configure it then it has no effect. For the usual backwards
compatibility reasons we enable this only for machine types starting
with 9.2.
(Note that the SMMU is disabled by default on the virt board and is
only created if the user passes the 'iommu=smmuv3' machine option.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20240816161350.3706332-4-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/arm')
-rw-r--r-- | include/hw/arm/virt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h index a4d937e..aca4f80 100644 --- a/include/hw/arm/virt.h +++ b/include/hw/arm/virt.h @@ -134,6 +134,7 @@ struct VirtMachineClass { bool no_cpu_topology; bool no_tcg_lpa2; bool no_ns_el2_virt_timer_irq; + bool no_nested_smmu; }; struct VirtMachineState { |