Re: [PATCH] target/arm: Catch invalid kvm state also for hvf

2022-06-20 Thread Richard Henderson
On 6/20/22 09:08, Alexander Graf wrote: -if (kvm_enabled()) { +if (kvm_enabled() || hvf_enabled()) { I think this should be !tcg_enabled(). No hw virtualization can use EL3 (or M-profile), only full emulation from TCG. There is such a thing as ARM on Windows, so I can imagine that W

[PATCH] target/arm: Catch invalid kvm state also for hvf

2022-06-20 Thread Alexander Graf
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 Hvf as well, let's run the same checks there as well. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/107