On Wed, Sep 23, 2026 at 05:55:32AM +0800, Yonggang Luo wrote: > query-machines returned only the -M name, so management apps inferred > the QOM type as that name plus "-machine". A prefixed type such as > arm-virt-11.1-machine no longer matches -M virt-11.1. Return the QOM > type in MachineInfo typename from object_class_get_name() in > qmp_query_machines(). test_query_machines_typename checks that > qom-list-properties accepts it. > > Signed-off-by: Yonggang Luo <[email protected]> > --- > hw/core/machine-qmp-cmds.c | 1 + > qapi/machine.json | 6 +++- > tests/qtest/qom-test.c | 65 ++++++++++++++++++++++++++++++++++---- > 3 files changed, 65 insertions(+), 7 deletions(-)
Reviewed-by: Daniel P. Berrangé <[email protected]> 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 :|
