]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Catch invalid kvm state also for hvf
authorAlexander Graf <agraf@csgraf.de>
Fri, 24 Jun 2022 14:42:56 +0000 (15:42 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Jun 2022 10:18:17 +0000 (11:18 +0100)
commit045e50641fd17655b02c4af485835bca38577bf3
treedc3d5ed366bc35f5c010271c77b17725baf1f429
parent55bd445c4195966675236936c0a8642f1965dddb
target/arm: Catch invalid kvm state also for hvf

Some features such as running in EL3 or running M profile code are
incompatible with virtualization as QEMU implements it today. To prevent
users from picking invalid configurations on other virt solutions like
Hvf, let's run the same checks there too.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1073
Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220620192242.70573-2-agraf@csgraf.de
[PMM: Allow qtest accelerator too; tweak comment]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.c