aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-07-20 10:25:36 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-07-20 11:35:15 +0100
commit6f4e1405b91da0d0a1084ae3aff2bd308432778f (patch)
tree8a719b20945a96a970dea2a10aa4915edb6f3ba7 /include/hw
parent873ec69aeb12e24eec7fb317fd0cd8494e8489dd (diff)
downloadqemu-arm-6f4e1405b91da0d0a1084ae3aff2bd308432778f.tar.gz
hw/arm/virt: Enable MTE via a machine property
Control this cpu feature via a machine property, much as we do with secure=on, since both require specialized support in the machine setup to be functional. Default MTE to off, since this feature implies extra overhead. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200713213341.590275-2-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/arm/virt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/virt.h b/include/hw/arm/virt.h
index 54bcf17afd..dff67e1bef 100644
--- a/include/hw/arm/virt.h
+++ b/include/hw/arm/virt.h
@@ -140,6 +140,7 @@ typedef struct {
bool its;
bool virt;
bool ras;
+ bool mte;
OnOffAuto acpi;
VirtGICType gic_version;
VirtIOMMUType iommu;