]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/virt: Allow virt extensions with KVM
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Jul 2025 10:39:33 +0000 (11:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Jul 2025 15:18:43 +0000 (16:18 +0100)
commit851dcb8355cb3c37fbbf8cc99ae5fac4871d1a44
tree9a7da00dbc8974868fb622f30ba7dbb7cda896d6
parentf36032440f5dd7ceb90833dd44600363b1472757
hw/arm/virt: Allow virt extensions with KVM

Up to now virt support on guest has been only supported with TCG.
Now it becomes feasible to use it with KVM acceleration.

Check neither in-kernel GICv3 nor aarch64=off is used along with KVM
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>
Message-id: 20250707164129.1167837-6-eric.auger@redhat.com
[PMM: make "kernel doesn't have EL2 support" error message
 distinct from the old "QEMU doesn't have KVM EL2 support" one]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c