diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:39:52 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:50 +0100 |
commit | e602f0b4e7fc497c50a63732feeb9be7650cdaef (patch) | |
tree | d76a6778494ac47fb22781d68e2a991e26685283 | |
parent | 14df1ea1683a52decbe4664fba6a8aa139536f27 (diff) | |
download | qemu-e602f0b4e7fc497c50a63732feeb9be7650cdaef.zip qemu-e602f0b4e7fc497c50a63732feeb9be7650cdaef.tar.gz qemu-e602f0b4e7fc497c50a63732feeb9be7650cdaef.tar.bz2 |
qmp-events: move 'MEM_UNPLUG_ERROR' 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 | 17 | ||||
-rw-r--r-- | 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' } } |