summaryrefslogtreecommitdiffstats
path: root/QMP
diff options
context:
space:
mode:
authorLuiz Capitulino2010-04-28 01:35:59 +0200
committerAnthony Liguori2010-05-03 19:39:12 +0200
commit6ed2c484f261fd8bd217f855b9e5e5f981e63f0a (patch)
treee95efe58f55934530619e1ff4a7941d54fa3981a /QMP
parentvirtio-9p: Create a syntactic shortcut for the file-system pass-thru (diff)
downloadqemu-6ed2c484f261fd8bd217f855b9e5e5f981e63f0a.tar.gz
qemu-6ed2c484f261fd8bd217f855b9e5e5f981e63f0a.tar.xz
qemu-6ed2c484f261fd8bd217f855b9e5e5f981e63f0a.zip
QMP: Introduce RESUME event
It's emitted when the Virtual Machine resumes execution. We currently have the STOP event but don't have the matching RESUME one, this means that clients are notified when the VM is stopped but don't get anything when it resumes. Let's fix that as it's already causing some trouble to libvirt. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'QMP')
-rw-r--r--QMP/qmp-events.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt
index c084a47309..01ec85fbb9 100644
--- a/QMP/qmp-events.txt
+++ b/QMP/qmp-events.txt
@@ -38,6 +38,18 @@ Example:
{ "event": "RESET",
"timestamp": { "seconds": 1267041653, "microseconds": 9518 } }
+RESUME
+------
+
+Emitted when the Virtual Machine resumes execution.
+
+Data: None.
+
+Example:
+
+{ "event": "RESUME",
+ "timestamp": { "seconds": 1271770767, "microseconds": 582542 } }
+
RTC_CHANGE
----------