From 622b3a6a51ee6ecfd14f78a2b013c17b0e7c05fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:34:01 +0200 Subject: qmp-events: move 'ACPI_DEVICE_OST' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-events.txt | 10 ---------- 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' } } -- cgit v1.1