qemu-devel
[Top][All Lists]
Advanced

[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: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v2 2/3] qapi: Add reason to SHUTDOWN and RESET events
Date: Mon, 3 Dec 2018 15:36:25 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

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.


@@ -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.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

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