diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:34:01 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:49 +0100 |
commit | 622b3a6a51ee6ecfd14f78a2b013c17b0e7c05fc (patch) | |
tree | 1a8fe827971ba46257a7101689a846dc0436ecba | |
parent | bce911ce263e78d13fad5415881a5310ead6c73f (diff) | |
download | qemu-622b3a6a51ee6ecfd14f78a2b013c17b0e7c05fc.zip qemu-622b3a6a51ee6ecfd14f78a2b013c17b0e7c05fc.tar.gz qemu-622b3a6a51ee6ecfd14f78a2b013c17b0e7c05fc.tar.bz2 |
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.txt | 10 | ||||
-rw-r--r-- | qapi/event.json | 7 |
2 files changed, 7 insertions, 10 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index d61ab1d..2c7eccf 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 ebf45cf..e8e4edd 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' } } |