]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Enable feature ARM_FEATURE_EL2 if EL2 is supported
authorHaibo Xu <haibo.xu@linaro.org>
Mon, 7 Jul 2025 16:40:29 +0000 (18:40 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Jul 2025 10:41:07 +0000 (11:41 +0100)
commit4ee1efc9871936e2561212e409ad094c2ae83cad
tree6a05d1b84e940a79193821bc3f8978769337e151
parent776aac5653cd9b072c735fcd65a3e58bd59370f4
target/arm: Enable feature ARM_FEATURE_EL2 if EL2 is supported

KVM_CAP_ARM_EL2 must be supported by the cpu to enable ARM_FEATURE_EL2.
In case the host does support NV, expose the feature.

Signed-off-by: Haibo Xu <haibo.xu@linaro.org>
Signed-off-by: Miguel Luis <miguel.luis@oracle.com>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250707164129.1167837-4-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/kvm.c