diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 16:35:19 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:49 +0100 |
commit | 449dbec15a39da4f8c2d7e9178a997c5b486f397 (patch) | |
tree | 9ccd47d9dedf0c71e4a5ecbc8f0900b0487748a3 | |
parent | a030dc00295438c56498032e93af42b19cbc94fb (diff) |
qmp-events: move 'GUEST_PANICKED' 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 | 14 | ||||
-rw-r--r-- | qapi/event.json | 6 |
2 files changed, 6 insertions, 14 deletions
diff --git a/docs/qmp-events.txt b/docs/qmp-events.txt index 9f6415d218..f8e777ce89 100644 --- a/docs/qmp-events.txt +++ b/docs/qmp-events.txt @@ -19,20 +19,6 @@ Example: "data": {"result": {"total": 1090650112, "status": "completed", "completed": 1090650112} } } -GUEST_PANICKED --------------- - -Emitted when guest OS panic is detected. - -Data: - -- "action": Action that has been taken (json-string, currently always "pause"). - -Example: - -{ "event": "GUEST_PANICKED", - "data": { "action": "pause" } } - MEM_UNPLUG_ERROR -------------------- Emitted when memory hot unplug error occurs. diff --git a/qapi/event.json b/qapi/event.json index c50147bbb5..c131a4ff20 100644 --- a/qapi/event.json +++ b/qapi/event.json @@ -483,6 +483,12 @@ # @action: action that has been taken, currently always "pause" # # Since: 1.5 +# +# Example: +# +# <- { "event": "GUEST_PANICKED", +# "data": { "action": "pause" } } +# ## { 'event': 'GUEST_PANICKED', 'data': { 'action': 'GuestPanicAction' } } |