summaryrefslogtreecommitdiff
path: root/qapi-event.json
diff options
context:
space:
mode:
authorWenchao Xia <wenchaoqemu@gmail.com>2014-06-18 08:43:39 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-06-23 11:12:27 -0400
commit2ea4100f44af4280c5f566c94ac02f188e8ff24c (patch)
tree287bdf89a7ddcdd3b4b3071899f6758bd8fb75b6 /qapi-event.json
parent1d11a95a3e84e01289e07884de37f2eb65c21357 (diff)
downloadqemu-2ea4100f44af4280c5f566c94ac02f188e8ff24c.tar.gz
qapi event: convert SUSPEND_DISK
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-event.json')
-rw-r--r--qapi-event.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/qapi-event.json b/qapi-event.json
index d45b34182d..469353c571 100644
--- a/qapi-event.json
+++ b/qapi-event.json
@@ -57,3 +57,15 @@
# Since: 1.1
##
{ 'event': 'SUSPEND' }
+
+##
+# @SUSPEND_DISK
+#
+# Emitted when guest enters a hardware suspension state with data saved on
+# disk, for example, S4 state, which is sometimes called hibernate state
+#
+# Note: QEMU shuts down (similar to event @SHUTDOWN) when entering this state
+#
+# Since: 1.2
+##
+{ 'event': 'SUSPEND_DISK' }