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' } }