diff options
author | Hu Tao <hutao@cn.fujitsu.com> | 2014-05-14 17:43:35 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-19 18:44:21 +0300 |
commit | eb1539b2343f2040decab39ccb9dc50dda75001c (patch) | |
tree | 58dab92e5a6277f368df33fb82fb807f0d2d0696 /monitor.c | |
parent | 76b5d8507d08db18bc0bd3c75349b357a82ff1a2 (diff) | |
download | qemu-eb1539b2343f2040decab39ccb9dc50dda75001c.zip qemu-eb1539b2343f2040decab39ccb9dc50dda75001c.tar.gz qemu-eb1539b2343f2040decab39ccb9dc50dda75001c.tar.bz2 |
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, }, }; |