summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/qmp-events.txt17
-rw-r--r--qapi/event.json9
2 files changed, 9 insertions, 17 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt
index 59743b569e..66a287e173 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -19,23 +19,6 @@ Example:
"data": {"result": {"total": 1090650112, "status": "completed",
"completed": 1090650112} } }
-MEM_UNPLUG_ERROR
---------------------
-Emitted when memory hot unplug error occurs.
-
-Data:
-
-- "device": device name (json-string)
-- "msg": Informative message (e.g., reason for the error) (json-string)
-
-Example:
-
-{ "event": "MEM_UNPLUG_ERROR"
- "data": { "device": "dimm1",
- "msg": "acpi: device unplug for unsupported device"
- },
- "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
-
MIGRATION_PASS
--------------
diff --git a/qapi/event.json b/qapi/event.json
index a9f974fa36..f8c7dd6bb5 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -592,6 +592,15 @@
# @msg: Informative message
#
# Since: 2.4
+#
+# Example:
+#
+# <- { "event": "MEM_UNPLUG_ERROR"
+# "data": { "device": "dimm1",
+# "msg": "acpi: device unplug for unsupported device"
+# },
+# "timestamp": { "seconds": 1265044230, "microseconds": 450486 } }
+#
##
{ 'event': 'MEM_UNPLUG_ERROR',
'data': { 'device': 'str', 'msg': 'str' } }