OSDN Git Service

watchdog: Consolidate QAPI into single file
authorEric Blake <eblake@redhat.com>
Mon, 26 Feb 2018 22:57:43 +0000 (16:57 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 2 Mar 2018 19:14:10 +0000 (13:14 -0600)
Commit f0df84c6 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 0e201d34
creating the latter file, even though it was merged after.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180226225744.26356-1-eblake@redhat.com>

qapi-schema.json
qapi/run-state.json

index d214529..3c1abf2 100644 (file)
 # 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'} }
index 92d29fd..1c9fff3 100644 (file)
             'inject-nmi' ] }
 
 ##
+# @watchdog-set-action:
+#
+# Set watchdog action
+#
+# Since: 2.11
+##
+{ 'command': 'watchdog-set-action', 'data' : {'action': 'WatchdogAction'} }
+
+##
 # @GUEST_PANICKED:
 #
 # Emitted when guest OS panic is detected