* QingFeng Hao (ha...@linux.vnet.ibm.com) wrote: > Hi all, > I did some investigation and found that "virsh qemu-monitor-command" supports > qom-get, > but qemu hmp doesn't. However, in hmp.c there are qom_list and qom_set. It > confused me > and my question is: why is this? And how can I get a property's value in hmp? > e.g. > qemu-system-* -nodefaults -machine accel=qtest -no-shutdown -nographic > -monitor stdio -serial none -hda /root/t.qcow2 > "info qtree" can only get a few properties.
I did try that in 2016 (see my series from about September); but it got bogged down in trying to fix output visitors; it's possible the visitor code has been fixed since then though. The 'Show values and description when using "qom-list"' patch that Ricardo Perez Blanco posted would do something similar. Dave > Thanks a lot! > -- > Regards > QingFeng Hao > > -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK