On Mon, Nov 16, 2026 at 01:43:41PM -0800, Pierrick Bouvier wrote: > On 11/16/2026 1:42 PM, Pierrick Bouvier wrote: > > 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. > > > > Compared to alias, this one is pretty important since in the end *all* > machines will have a list of targets associated.
Yeah, that sounds like a nice idea for improvement. With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
