summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorJason J. Herne <jjherne@linux.vnet.ibm.com>2015-06-26 14:03:16 -0400
committerCornelia Huck <cornelia.huck@de.ibm.com>2015-09-03 12:17:54 +0200
commit7ee0c3e33a0f8664c529ce621ea83326817fc14a (patch)
treec6c559251f300bee39fc4b65253ed5c743b6e350 /monitor.c
parent0f5f669147b52f89928bdf180165f74c4219210e (diff)
downloadqemu-7ee0c3e33a0f8664c529ce621ea83326817fc14a.tar.gz
qemu-7ee0c3e33a0f8664c529ce621ea83326817fc14a.tar.bz2
qemu-7ee0c3e33a0f8664c529ce621ea83326817fc14a.zip
s390x: Dump storage keys qmp command
Provide a dump-skeys qmp command to allow the end user to dump storage keys. This is useful for debugging problems with guest storage key support within Qemu and for guest operating system developers. Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index fc32f12eef..daa3d98cf3 100644
--- a/monitor.c
+++ b/monitor.c
@@ -5361,3 +5361,10 @@ void qmp_rtc_reset_reinjection(Error **errp)
error_setg(errp, QERR_FEATURE_DISABLED, "rtc-reset-reinjection");
}
#endif
+
+#ifndef TARGET_S390X
+void qmp_dump_skeys(const char *filename, Error **errp)
+{
+ error_setg(errp, QERR_FEATURE_DISABLED, "dump-skeys");
+}
+#endif