Skip to content

Commit

Permalink
watchdog: Consolidate QAPI into single file
Browse files Browse the repository at this point in the history
Commit f0df84c added watchdog-set-action in the main qapi-schema.json,
but it belongs better in qapi/run-state.json alongside the definition
of WatchdogAction.  The command was written prior to commit 0e201d3
creating the latter file, even though it was merged after.

Signed-off-by: Eric Blake <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
ebblake committed Mar 2, 2018
1 parent f9c1463 commit 3da7a41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 0 additions & 9 deletions qapi-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3291,12 +3291,3 @@
# Since: 2.9
##
{ 'command': 'query-vm-generation-id', 'returns': 'GuidInfo' }

##
# @watchdog-set-action:
#
# Set watchdog action
#
# Since: 2.11
##
{ 'command': 'watchdog-set-action', 'data' : {'action': 'WatchdogAction'} }
9 changes: 9 additions & 0 deletions qapi/run-state.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,15 @@
'data': [ 'reset', 'shutdown', 'poweroff', 'pause', 'debug', 'none',
'inject-nmi' ] }

##
# @watchdog-set-action:
#
# Set watchdog action
#
# Since: 2.11
##
{ 'command': 'watchdog-set-action', 'data' : {'action': 'WatchdogAction'} }

##
# @GUEST_PANICKED:
#
Expand Down

0 comments on commit 3da7a41

Please sign in to comment.