]> git.proxmox.com Git - mirror_qemu.git/commit
arm/kvm: add support for MTE
authorCornelia Huck <cohuck@redhat.com>
Fri, 28 Apr 2023 09:55:33 +0000 (11:55 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 May 2023 10:08:38 +0000 (11:08 +0100)
commitb320e21c48ce64853904bea6631c0158cc2ef227
tree7f39fb6746f308172e7fcc263c4b102ce7400690
parent96e6d25fdd5f6cd0f9b8eef6c8ab1365509c4aa2
arm/kvm: add support for MTE

Extend the 'mte' property for the virt machine to cover KVM as
well. For KVM, we don't allocate tag memory, but instead enable the
capability.

If MTE has been enabled, we need to disable migration, as we do not
yet have a way to migrate the tags as well. Therefore, MTE will stay
off with KVM unless requested explicitly.

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230428095533.21747-2-cohuck@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c
target/arm/cpu.c
target/arm/cpu.h
target/arm/kvm.c
target/arm/kvm64.c
target/arm/kvm_arm.h