]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm/kvm: Add helper to detect EL2 when using KVM
authorHaibo Xu <haibo.xu@linaro.org>
Mon, 7 Jul 2025 16:40:28 +0000 (18:40 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Jul 2025 10:41:02 +0000 (11:41 +0100)
commit776aac5653cd9b072c735fcd65a3e58bd59370f4
treeaf598d82a0b8366c959929235ebf045780ec63ae
parent66ba6d1367d7e81d705430ff611af01280953992
target/arm/kvm: Add helper to detect EL2 when using KVM

Introduce query support for KVM_CAP_ARM_EL2.

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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20250707164129.1167837-3-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/kvm-stub.c
target/arm/kvm.c
target/arm/kvm_arm.h