diff options
author | Zhu Guihua <zhugh.fnst@cn.fujitsu.com> | 2014-09-23 13:35:19 +0800 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-09-26 13:37:06 -0400 |
commit | a631892f9d6440812af98588e9635f1a2a7260ff (patch) | |
tree | c90961229694debc06c6f0aa2b2b51cc1bbe507a /monitor.c | |
parent | 235256a2bdebf7097e524031d74b43bcb4adec30 (diff) |
Add HMP command "info memory-devices"
Provides HMP equivalent of QMP query-memory-devices command.
Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
Reviewed-By: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2922,6 +2922,13 @@ static mon_cmd_t info_cmds[] = { .mhandler.cmd = hmp_info_memdev, }, { + .name = "memory-devices", + .args_type = "", + .params = "", + .help = "show memory devices", + .mhandler.cmd = hmp_info_memory_devices, + }, + { .name = NULL, }, }; |