From eb1539b2343f2040decab39ccb9dc50dda75001c Mon Sep 17 00:00:00 2001 From: Hu Tao Date: Wed, 14 May 2014 17:43:35 +0800 Subject: hmp: add info memdev This is the hmp counterpart of qmp query-memdev. Signed-off-by: Hu Tao Signed-off-by: Michael S. Tsirkin Acked-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin MST: fix build on 32 bit --- monitor.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index ca17e420a9..afbb2d7379 100644 --- a/monitor.c +++ b/monitor.c @@ -2963,6 +2963,13 @@ static mon_cmd_t info_cmds[] = { .help = "show the TPM device", .mhandler.cmd = hmp_info_tpm, }, + { + .name = "memdev", + .args_type = "", + .params = "", + .help = "show the memory device", + .mhandler.cmd = hmp_info_memdev, + }, { .name = NULL, }, -- cgit v1.2.3