From e602f0b4e7fc497c50a63732feeb9be7650cdaef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 16:39:52 +0200 Subject: qmp-events: move 'MEM_UNPLUG_ERROR' 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 | 17 ----------------- qapi/event.json | 9 +++++++++ 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index 59743b5..66a287e 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 a9f974f..f8c7dd6 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' } } -- cgit v1.1