]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/virt: Extend nested and mte checks to hvf
authorAlexander Graf <agraf@csgraf.de>
Tue, 23 Nov 2021 12:28:59 +0000 (13:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Nov 2021 16:51:21 +0000 (16:51 +0000)
commitbede01170e9cb8f9ac9c6a0665ee9f3989a57e6a
tree9b53768405d1c6849f7ad3467a8f17654cb81fc1
parentdd4b0de45965538f19bb40c7ddaaba384a8c613a
hw/arm/virt: Extend nested and mte checks to hvf

The virt machine has properties to enable MTE and Nested Virtualization
support. However, its check to ensure the backing accel implementation
supports it today only looks for KVM and bails out if it finds it.

Extend the checks to HVF as well as it does not support either today.
This will cause QEMU to print a useful error message rather than
silently ignoring the attempt by the user to enable either MTE or
the Virtualization extensions.

Reported-by: saar amar <saaramar5@gmail.com>
Signed-off-by: Alexander Graf <agraf@csgraf.de>
Message-id: 20211123122859.22452-1-agraf@csgraf.de
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c