aboutsummaryrefslogtreecommitdiff
path: root/qapi/run-state.json
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2018-02-26 16:57:43 -0600
committerEric Blake <eblake@redhat.com>2018-03-02 13:14:10 -0600
commit3da7a4161a96d7539588729042e987f4c6fd97c6 (patch)
tree20b758648b9fe7f85fa958b136e715178218e954 /qapi/run-state.json
parentf9c146399dabefb8cd13c9c467a9e710af15ea70 (diff)
watchdog: Consolidate QAPI into single file
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>
Diffstat (limited to 'qapi/run-state.json')
-rw-r--r--qapi/run-state.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/qapi/run-state.json b/qapi/run-state.json
index 92d29fd571..1c9fff3aef 100644
--- a/qapi/run-state.json
+++ b/qapi/run-state.json
@@ -284,6 +284,15 @@
'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