]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/arm/virt: Error for MTE enabled with KVM
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 20 Jul 2020 09:25:36 +0000 (10:25 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Jul 2020 10:35:17 +0000 (11:35 +0100)
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>
hw/arm/virt.c

index 5866c4ce202c2337243fd319b290c7d93596648f..a7f3d442db31851c6bee02434a70ce8f387b3338 100644 (file)
@@ -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);