mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
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
This commit is contained in:
parent
76b5d8507d
commit
eb1539b234
3 changed files with 44 additions and 0 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue