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>
---
v1 -> v2:
- Use current_accel_name()
- Use !tcg_enabled()
---
target/arm/cpu.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)