qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] Why is there no qom_get in hmp.c?


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-block] [Qemu-devel] Why is there no qom_get in hmp.c?
Date: Wed, 18 Apr 2018 15:04:59 +0100
User-agent: Mutt/1.9.5 (2018-04-13)

* QingFeng Hao (address@hidden) 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 / address@hidden / Manchester, UK



reply via email to

[Prev in Thread] Current Thread [Next in Thread]