aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 16:34:01 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:49 +0100
commit622b3a6a51ee6ecfd14f78a2b013c17b0e7c05fc (patch)
tree1a8fe827971ba46257a7101689a846dc0436ecba
parentbce911ce263e78d13fad5415881a5310ead6c73f (diff)
qmp-events: move 'ACPI_DEVICE_OST' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/qmp-events.txt10
-rw-r--r--qapi/event.json7
2 files changed, 7 insertions, 10 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt
index d61ab1dabc..2c7eccf1c3 100644
--- a/docs/qmp-events.txt
+++ b/docs/qmp-events.txt
@@ -1,16 +1,6 @@
QEMU Machine Protocol Events
============================
-ACPI_DEVICE_OST
----------------
-
-Emitted when guest executes ACPI _OST method.
-
- - data: ACPIOSTInfo type as described in qapi-schema.json
-
-{ "event": "ACPI_DEVICE_OST",
- "data": { "device": "d1", "slot": "0", "slot-type": "DIMM", "source": 1, "status": 0 } }
-
BALLOON_CHANGE
--------------
diff --git a/qapi/event.json b/qapi/event.json
index ebf45cf7ed..e8e4edd364 100644
--- a/qapi/event.json
+++ b/qapi/event.json
@@ -442,6 +442,13 @@
# @info: ACPIOSTInfo type as described in qapi-schema.json
#
# Since: 2.1
+#
+# Example:
+#
+# <- { "event": "ACPI_DEVICE_OST",
+# "data": { "device": "d1", "slot": "0",
+# "slot-type": "DIMM", "source": 1, "status": 0 } }
+#
##
{ 'event': 'ACPI_DEVICE_OST',
'data': { 'info': 'ACPIOSTInfo' } }