On 6/10/26 15:56, Daniel P. Berrangé wrote:
Current git master is exhibiting a regression compared to previous
releases.
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-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-xtensa: "xtensa"
./build/qemu-system-xtensaeb: "xtensa"
so we need to fix that behaviour change for query-target.
On a side note it would be helpful to have such test in CI :)