qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] qmp: Allow setting -action parameters on the fly


From: Paolo Bonzini
Subject: Re: [PATCH 3/4] qmp: Allow setting -action parameters on the fly
Date: Tue, 8 Dec 2020 20:57:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

On 08/12/20 20:14, Alejandro Jimenez wrote:
  ##
+# @reboot-set-action:
+#
+# Set reboot action
+#
+# Since: 6.0
+##
+{ 'command': 'reboot-set-action', 'data' : {'action': 'RebootAction'} }
+
+##
+# @shutdown-set-action:
+#
+# Set shutdown action
+#
+# Since: 6.0
+##
+{ 'command': 'shutdown-set-action', 'data' : {'action': 'ShutdownAction'} }
+
+##
+# @panic-set-action:
+#
+# Set panic action
+#
+# Since: 6.0
+##
+{ 'command': 'panic-set-action', 'data' : {'action': 'PanicAction'} }
+
+##

What about a single action-set command with arguments reboot, shutdown and panic?

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]