Skip to content

Commit

Permalink
qapi: fix examples: SHUTDOWN and RESET events
Browse files Browse the repository at this point in the history
Example output lacks mandatory member @Reason.  Provide it.

Signed-off-by: Victor Toso <[email protected]>
Reviewed-by: John Snow <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
  • Loading branch information
victortoso authored and Markus Armbruster committed Mar 31, 2022
1 parent 121c25b commit d219119
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qapi/run-state.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@
#
# Example:
#
# <- { "event": "SHUTDOWN", "data": { "guest": true },
# <- { "event": "SHUTDOWN",
# "data": { "guest": true, "reason": "guest-shutdown" },
# "timestamp": { "seconds": 1267040730, "microseconds": 682951 } }
#
##
Expand Down Expand Up @@ -188,7 +189,8 @@
#
# Example:
#
# <- { "event": "RESET", "data": { "guest": false },
# <- { "event": "RESET",
# "data": { "guest": false, "reason": "guest-reset" },
# "timestamp": { "seconds": 1267041653, "microseconds": 9518 } }
#
##
Expand Down

0 comments on commit d219119

Please sign in to comment.