diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-07-01 15:08:34 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-07-01 15:08:34 +0100 |
commit | 1370fd56ec771f16197f255c25c910e9386ac587 (patch) | |
tree | 6803feccdc055187cfdd475e2627c8fda987d717 /scripts/rust/rustc_args.py | |
parent | 532884658d606160ff3ad73c73c05fddf3504d9b (diff) | |
download | qemu-1370fd56ec771f16197f255c25c910e9386ac587.zip qemu-1370fd56ec771f16197f255c25c910e9386ac587.tar.gz qemu-1370fd56ec771f16197f255c25c910e9386ac587.tar.bz2 |
hw/arm/virt: Make EL3-guest accel check an accept-list
Currently only the TCG and qtest accelerators can handle an EL3
guest. Instead of making the condition check be "fail if KVM or HVF"
(an exclude-list), make it a be "allow if TCG or qtest" (an
accept-list).
This is better for if/when we add new accelerators, as it makes the
default be that we forbid an EL3 guest. This is the most likely to
be correct and also "fails safe"; if the new accelerator really can
support EL3 guests then the implementor will see that they need to
add it to the accept-list.
Reported-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250623121845.7214-19-philmd@linaro.org
[PMM: rewrote commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/rust/rustc_args.py')
0 files changed, 0 insertions, 0 deletions