[Qemu-devel] [PATCH v2 2/9] qom: Implement qom-list HMP command

2015-03-12 Thread Andreas Färber
Implement it as a wrapper for QMP qom-list, but mimic the behavior of scripts/qmp/qom-list in making the path argument optional and listing the root if absent, to hint users what kind of path to pass. Signed-off-by: Andreas Färber afaer...@suse.de --- hmp-commands.hx | 13 + hmp.c

Re: [Qemu-devel] [PATCH v2 2/9] qom: Implement qom-list HMP command

2015-03-12 Thread Gonglei
On 2015/3/13 0:43, Andreas Färber wrote: Implement it as a wrapper for QMP qom-list, but mimic the behavior of scripts/qmp/qom-list in making the path argument optional and listing the root if absent, to hint users what kind of path to pass. Signed-off-by: Andreas Färber afaer...@suse.de