On 11/12/2026 5:30 AM, Daniel P. Berrangé wrote:
> This prevents creation of arm machines unless the current selected
> target is arm and enables removal of the 'is_available' callback.
> 
> Signed-off-by: Daniel P. Berrangé <[email protected]>
> ---
>  hw/arm/aspeed_ast27x0-fc.c  | 5 ++++-
>  hw/arm/aspeed_ast27x0_evb.c | 7 +++++--
>  hw/arm/raspi.c              | 9 ++++++---
>  hw/arm/raspi4b.c            | 6 ++++--
>  hw/arm/virt.c               | 6 ++++--
>  5 files changed, 23 insertions(+), 10 deletions(-)
> 

Could we have a variadic function to set target instead?

This way we would only see
targets = qemu_arch(SYS_EMU_TARGET_A, SYS_EMU_TARGET_B), and not expose
QEMU_ARCH_BIT at all.

Regards,
Pierrick

Reply via email to