[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/3] QMP: Documentation for the BLOCK_MEDIA_EJECT ev
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PATCH 2/3] QMP: Documentation for the BLOCK_MEDIA_EJECT event |
Date: |
Wed, 12 Jan 2011 16:22:02 -0200 |
Signed-off-by: Luiz Capitulino <address@hidden>
---
QMP/qmp-events.txt | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/QMP/qmp-events.txt b/QMP/qmp-events.txt
index 0ce5d4e..d13b17a 100644
--- a/QMP/qmp-events.txt
+++ b/QMP/qmp-events.txt
@@ -1,6 +1,21 @@
QEMU Monitor Protocol Events
============================
+BLOCK_MEDIA_EJECT
+-----------------
+
+Emitted when a disk media (such as a CDROM or floppy) is ejected.
+
+Data:
+
+- "device": device name (json-string)
+
+Example:
+
+{ "event": "BLOCK_MEDIA_EJECT",
+ "data": { "device": "ide1-cd0" },
+ "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
+
BLOCK_IO_ERROR
--------------
--
1.7.4.rc1.14.g7fad99