summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Henderson2020-07-20 11:25:36 +0200
committerPeter Maydell2020-07-20 12:35:17 +0200
commit7f6185ed9ca977a9836f35b994e4f85cecae8437 (patch)
treebc133ca9ed3c7d8470cc3af605f10734b153b591
parenthw/arm/virt: Enable MTE via a machine property (diff)
downloadqemu-7f6185ed9ca977a9836f35b994e4f85cecae8437.tar.gz
qemu-7f6185ed9ca977a9836f35b994e4f85cecae8437.tar.xz
qemu-7f6185ed9ca977a9836f35b994e4f85cecae8437.zip
hw/arm/virt: Error for MTE enabled with KVM
While we expect KVM to support MTE at some future point, it certainly won't be ready in time for qemu 5.1. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200713213341.590275-3-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/arm/virt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 5866c4ce20..a7f3d442db 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -1773,6 +1773,12 @@ static void machvirt_init(MachineState *machine)
exit(1);
}
+ if (vms->mte && kvm_enabled()) {
+ error_report("mach-virt: KVM does not support providing "
+ "MTE to the guest CPU");
+ exit(1);
+ }
+
create_fdt(vms);
possible_cpus = mc->possible_cpu_arch_ids(machine);