Skip to content

Commit

Permalink
hw/arm/virt: Error for MTE enabled with KVM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rth7680 authored and pm215 committed Jul 20, 2020
1 parent 6f4e140 commit 7f6185e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hw/arm/virt.c
Expand Up @@ -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);
Expand Down

0 comments on commit 7f6185e

Please sign in to comment.