]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.c
qom: Implement qom-list HMP command
authorAndreas Färber <afaerber@suse.de>
Wed, 7 May 2014 16:08:29 +0000 (18:08 +0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 17 Mar 2015 13:31:10 +0000 (14:31 +0100)
commit89d7fa9eb4a0a75bb1bc1bf24e9e79ebe91fd7b0
treed5f4e1baa8ae2605b6870c6f2100862c1a9df120
parenteb60aa5737463d9143c0edde0fcd3a1eff44a633
qom: Implement qom-list HMP command

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.

Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Tested-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hmp-commands.hx
hmp.c
hmp.h