From a631892f9d6440812af98588e9635f1a2a7260ff Mon Sep 17 00:00:00 2001 From: Zhu Guihua Date: Tue, 23 Sep 2014 13:35:19 +0800 Subject: Add HMP command "info memory-devices" Provides HMP equivalent of QMP query-memory-devices command. Signed-off-by: Zhu Guihua Reviewed-By: Igor Mammedov Signed-off-by: Luiz Capitulino --- monitor.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 48850af..2d14f39 100644 --- a/monitor.c +++ b/monitor.c @@ -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, }, }; -- cgit v1.1