diff options
author | Claudio Imbrenda | 2016-08-15 18:44:04 +0200 |
---|---|---|
committer | Christian Borntraeger | 2017-07-14 12:29:47 +0200 |
commit | f860d49753300d4e57f49e4d9016e79e5c5ac2ee (patch) | |
tree | 27df259651613bdac6baddcc24105c4b07e7889e /hmp-commands-info.hx | |
parent | s390x/migration: Storage attributes device (diff) | |
download | qemu-f860d49753300d4e57f49e4d9016e79e5c5ac2ee.tar.gz qemu-f860d49753300d4e57f49e4d9016e79e5c5ac2ee.tar.xz qemu-f860d49753300d4e57f49e4d9016e79e5c5ac2ee.zip |
s390x/migration: Monitor commands for storage attributes
Add an "info" monitor command to non-destructively inspect the state of
the storage attributes of the guest, and a normal command to toggle
migration mode (useful for debugging).
Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r-- | hmp-commands-info.hx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx index 07500ef787..d9df238a5f 100644 --- a/hmp-commands-info.hx +++ b/hmp-commands-info.hx @@ -777,6 +777,22 @@ STEXI Display the value of a storage key (s390 only) ETEXI +#if defined(TARGET_S390X) + { + .name = "cmma", + .args_type = "addr:l,count:l?", + .params = "address [count]", + .help = "Display the values of the CMMA storage attributes for a range of pages", + .cmd = hmp_info_cmma, + }, +#endif + +STEXI +@item info cmma @var{address} +@findex cmma +Display the values of the CMMA storage attributes for a range of pages (s390 only) +ETEXI + { .name = "dump", .args_type = "", |