On Tue, Oct 6, 2026 at 9:56 PM Daniel P. Berrangé <[email protected]> wrote: > > > For example on 10.1.0: > > $ for i in /usr/bin/qemu-system-* ; do echo -n "$i: " ; echo -e > '{"execute":"qmp_capabilities"}\r\n{"execute":"query-target"}\r\n{"execute":"quit"}\r\n' > | $i -qmp stdio -display none -M none | jq .return.arch | grep -v null ; done > /usr/bin/qemu-system-aarch64: "aarch64" > /usr/bin/qemu-system-alpha: "alpha" > /usr/bin/qemu-system-arm: "arm" > /usr/bin/qemu-system-avr: "avr" > /usr/bin/qemu-system-hppa: "hppa" > /usr/bin/qemu-system-i386: "i386" > /usr/bin/qemu-system-loongarch64: "loongarch64" > /usr/bin/qemu-system-m68k: "m68k" > /usr/bin/qemu-system-microblaze: "microblaze" > /usr/bin/qemu-system-microblazeel: "microblazeel" > /usr/bin/qemu-system-mips: "mips" > /usr/bin/qemu-system-mips64: "mips64" > /usr/bin/qemu-system-mips64el: "mips64el" > /usr/bin/qemu-system-mipsel: "mipsel" > /usr/bin/qemu-system-or1k: "or1k" > /usr/bin/qemu-system-ppc: "ppc" > /usr/bin/qemu-system-ppc64: "ppc64" > /usr/bin/qemu-system-riscv32: "riscv32" > /usr/bin/qemu-system-riscv64: "riscv64" > /usr/bin/qemu-system-rx: "rx" > /usr/bin/qemu-system-s390x: "s390x" > /usr/bin/qemu-system-sh4: "sh4" > /usr/bin/qemu-system-sh4eb: "sh4eb" > /usr/bin/qemu-system-sparc: "sparc" > /usr/bin/qemu-system-sparc64: "sparc64" > /usr/bin/qemu-system-tricore: "tricore" > /usr/bin/qemu-system-x86_64: "x86_64" > /usr/bin/qemu-system-xtensa: "xtensa" > /usr/bin/qemu-system-xtensaeb: "xtensaeb" > > > but on git master: > > $ for i in $(find ./build -type f -name 'qemu-system-*') ; do echo -n "$i: " > ; echo -e > '{"execute":"qmp_capabilities"}\r\n{"execute":"query-target"}\r\n{"execute":"quit"}\r\n' > | $i -qmp stdio -display none -M none | jq .return.arch | grep -v null ; done > ./build/qemu-system-hexagon: "hexagon" > ./build/qemu-system-x86_64: "x86_64" > ./build/qemu-system-s390x: "s390x" > ./build/qemu-system-m68k: "m68k" > ./build/qemu-system-xtensa: "xtensa" > ./build/qemu-system-xtensaeb: "xtensa" > ./build/qemu-system-rx: "rx" > ./build/qemu-system-loongarch64: "loongarch64" > ./build/qemu-system-riscv32: "riscv32" > ./build/qemu-system-hppa: "hppa" > ./build/qemu-system-ppc64: "ppc64" > ./build/qemu-system-microblaze: "microblaze" > ./build/qemu-system-sparc: "sparc" > ./build/qemu-system-riscv64: "riscv64" > ./build/qemu-system-i386: "i386" > ./build/qemu-system-mipsel: "mips" > ./build/qemu-system-sh4: "sh4" > ./build/qemu-system-mips64el: "mips64" > ./build/qemu-system-mips64: "mips64" > ./build/qemu-system-sparc64: "sparc64" > ./build/qemu-system-arm: "arm" > ./build/qemu-system-tricore: "tricore" > ./build/qemu-system-mips: "mips" > ./build/qemu-system-or1k: "or1k" > ./build/qemu-system-sh4eb: "sh4" > ./build/qemu-system-aarch64: "aarch64" > ./build/qemu-system-ppc: "ppc" > ./build/qemu-system-avr: "avr" > ./build/qemu-system-alpha: "alpha" > > > so we need to fix that behaviour change for query-target. > > If we want to be able to expose only the "base" target, > then query-target's QemuTargetInfo struct could be > extended with a 2nd field that presents the base. >
Thanks a lot, this is a better way to describe the issue. > > 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 :| > -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo
