[Top][All Lists]

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

Re: [Qemu-devel] [PATCH v2 2/3] qapi: Add reason to SHUTDOWN and RESET e

From: Dominik Csapak
Subject: Re: [Qemu-devel] [PATCH v2 2/3] qapi: Add reason to SHUTDOWN and RESET events
Date: Tue, 4 Dec 2018 08:26:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

On 12/3/18 10:36 PM, Eric Blake wrote:
On 12/3/18 3:26 AM, Dominik Csapak wrote:
This makes it possible to determine what the exact reason was for
a RESET or a SHUTDOWN. A management layer might need the specific reason
of those events to determine which cleanups or other actions it needs to do.

This patch also fixes the iotests to include the reason in the output.

Signed-off-by: Dominik Csapak <address@hidden>
  qapi/run-state.json        |  8 ++++++--

+++ b/qapi/run-state.json
@@ -141,6 +141,8 @@
  # a guest-initiated ACPI shutdown request or other hardware-specific action)   # rather than a host request (such as sending qemu a SIGINT). (since 2.10)
+# @reason: The @ShutdownCause which resulted in the SHUTDOWN.

Missing a '(since 4.0)' clause.

yeah, i guessed so, but was not sure which version to write.
will do in an upcoming v3

@@ -180,6 +182,8 @@
  # rather than a host request (such as the QMP command system_reset).
  # (since 2.10)
+# @reason: The @ShutdownCause of the RESET.

and again.

reply via email to

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