提交 e602f0b4 编写于 作者: M Marc-André Lureau 提交者: Markus Armbruster

qmp-events: move 'MEM_UNPLUG_ERROR' doc to schema

Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
上级 14df1ea1
...@@ -19,23 +19,6 @@ Example: ...@@ -19,23 +19,6 @@ Example:
"data": {"result": {"total": 1090650112, "status": "completed", "data": {"result": {"total": 1090650112, "status": "completed",
"completed": 1090650112} } } "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 MIGRATION_PASS
-------------- --------------
......
...@@ -592,6 +592,15 @@ ...@@ -592,6 +592,15 @@
# @msg: Informative message # @msg: Informative message
# #
# Since: 2.4 # 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', { 'event': 'MEM_UNPLUG_ERROR',
'data': { 'device': 'str', 'msg': 'str' } } 'data': { 'device': 'str', 'msg': 'str' } }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册