]> git.proxmox.com Git - qemu.git/commit - monitor.c
HMP: add sub command table to info
authorWenchao Xia <xiawenc@linux.vnet.ibm.com>
Mon, 14 Jan 2013 06:06:29 +0000 (14:06 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 17 Jan 2013 12:24:52 +0000 (10:24 -0200)
commit84c44613f9ad8d13e0d2dbee767051527072dc12
treedc5b06bbad12ca0d71837152302842380c75a886
parenta13ced59a4f305e37bd89f27f2b18f915889cad1
HMP: add sub command table to info

  Now info command takes a table of sub info commands,
and changed do_info() to do_info_help() to do help funtion
only.
 Note that now "info <unknown-topic>" returns error instead
of list of info topics.

Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
hmp-commands.hx
monitor.c