[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] Why is there no qom_get in hmp.c?
From: |
QingFeng Hao |
Subject: |
[Qemu-block] Why is there no qom_get in hmp.c? |
Date: |
Tue, 17 Apr 2018 23:51:09 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
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
- [Qemu-block] Why is there no qom_get in hmp.c?,
QingFeng Hao <=