qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: QingFeng Hao <haoqf@linux.vnet.ibm.com>
To: qemu block <qemu-block@nongnu.org>
Cc: qemu-devel <qemu-devel@nongnu.org>, Kevin Wolf <kwolf@redhat.com>,
	Max Reitz <mreitz@redhat.com>,
	Stefan Hajnoczi <stefanha@gmail.com>,
	Christian Borntraeger <borntraeger@de.ibm.com>
Subject: [Qemu-devel] Why is there no qom_get in hmp.c?
Date: Tue, 17 Apr 2018 23:51:09 +0800	[thread overview]
Message-ID: <16124cce-593c-8191-074c-19164acc3626@linux.vnet.ibm.com> (raw)

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

             reply	other threads:[~2018-04-17 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-17 15:51 QingFeng Hao [this message]
2018-04-18 14:04 ` [Qemu-devel] Why is there no qom_get in hmp.c? Dr. David Alan Gilbert
2018-04-19  3:27   ` QingFeng Hao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16124cce-593c-8191-074c-19164acc3626@linux.vnet.ibm.com \
    --to=haoqf@linux.vnet.ibm.com \
    --cc=borntraeger@de.ibm.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).