summaryrefslogtreecommitdiffstats
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorClaudio Imbrenda2016-08-15 18:44:04 +0200
committerChristian Borntraeger2017-07-14 12:29:47 +0200
commitf860d49753300d4e57f49e4d9016e79e5c5ac2ee (patch)
tree27df259651613bdac6baddcc24105c4b07e7889e /hmp-commands-info.hx
parents390x/migration: Storage attributes device (diff)
downloadqemu-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.hx16
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 = "",