Skip to content

Commit 7f6185e

Browse files
rth7680pm215
authored andcommitted
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 <[email protected]> Message-id: [email protected] Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
1 parent 6f4e140 commit 7f6185e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hw/arm/virt.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,6 +1773,12 @@ static void machvirt_init(MachineState *machine)
17731773
exit(1);
17741774
}
17751775

1776+
if (vms->mte && kvm_enabled()) {
1777+
error_report("mach-virt: KVM does not support providing "
1778+
"MTE to the guest CPU");
1779+
exit(1);
1780+
}
1781+
17761782
create_fdt(vms);
17771783

17781784
possible_cpus = mc->possible_cpu_arch_ids(machine);

0 commit comments

Comments
 (0)