diff options
author | Richard Henderson | 2020-07-20 11:25:36 +0200 |
---|---|---|
committer | Peter Maydell | 2020-07-20 12:35:15 +0200 |
commit | 6f4e1405b91da0d0a1084ae3aff2bd308432778f (patch) | |
tree | 8a719b20945a96a970dea2a10aa4915edb6f3ba7 /include | |
parent | Merge remote-tracking branch 'remotes/cminyard/tags/for-qemu-i2c-5' into staging (diff) | |
download | qemu-6f4e1405b91da0d0a1084ae3aff2bd308432778f.tar.gz qemu-6f4e1405b91da0d0a1084ae3aff2bd308432778f.tar.xz qemu-6f4e1405b91da0d0a1084ae3aff2bd308432778f.zip |
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')
-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 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; |