diff options
author | Hu Tao | 2014-05-14 11:43:35 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2014-06-19 17:44:21 +0200 |
commit | eb1539b2343f2040decab39ccb9dc50dda75001c (patch) | |
tree | 58dab92e5a6277f368df33fb82fb807f0d2d0696 /monitor.c | |
parent | qmp: add query-memdev (diff) | |
download | qemu-eb1539b2343f2040decab39ccb9dc50dda75001c.tar.gz qemu-eb1539b2343f2040decab39ccb9dc50dda75001c.tar.xz qemu-eb1539b2343f2040decab39ccb9dc50dda75001c.zip |
hmp: add info memdev
This is the hmp counterpart of qmp query-memdev.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
MST: fix build on 32 bit
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2964,6 +2964,13 @@ static mon_cmd_t info_cmds[] = { .mhandler.cmd = hmp_info_tpm, }, { + .name = "memdev", + .args_type = "", + .params = "", + .help = "show the memory device", + .mhandler.cmd = hmp_info_memdev, + }, + { .name = NULL, }, }; |