From: Marc-André Lureau Date: Thu, 23 Jun 2016 14:35:19 +0000 (+0200) Subject: qmp-events: move 'GUEST_PANICKED' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=449dbec15a39da4f8c2d7e9178a997c5b486f397;p=qemu.git qmp-events: move 'GUEST_PANICKED' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- 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' } }