Skip to content

Commit

Permalink
qmp-events: move 'MEM_UNPLUG_ERROR' doc to schema
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
  • Loading branch information
elmarco authored and Markus Armbruster committed Jan 16, 2017
1 parent 14df1ea commit e602f0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
17 changes: 0 additions & 17 deletions docs/qmp-events.txt
Expand Up @@ -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
--------------

Expand Down
9 changes: 9 additions & 0 deletions qapi/event.json
Expand Up @@ -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' } }
Expand Down

0 comments on commit e602f0b

Please sign in to comment.