qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Why is there no qom_get in hmp.c?
@ 2018-04-17 15:51 QingFeng Hao
  2018-04-18 14:04 ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 3+ messages in thread
From: QingFeng Hao @ 2018-04-17 15:51 UTC (permalink / raw)
  To: qemu block
  Cc: qemu-devel, Kevin Wolf, Max Reitz, Stefan Hajnoczi,
	Christian Borntraeger

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.

Thanks a lot!
-- 
Regards
QingFeng Hao

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-19  3:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-17 15:51 [Qemu-devel] Why is there no qom_get in hmp.c? QingFeng Hao
2018-04-18 14:04 ` Dr. David Alan Gilbert
2018-04-19  3:27   ` QingFeng Hao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).