qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 1/3] qapi: Turn ShutdownCause into QAPI enum


From: Dominik Csapak
Subject: Re: [Qemu-devel] [PATCH v2 1/3] qapi: Turn ShutdownCause into QAPI enum
Date: Tue, 4 Dec 2018 08:25:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

On 12/3/18 10:34 PM, Eric Blake wrote:
On 12/3/18 3:26 AM, Dominik Csapak wrote:
Needed so the patch after next can add ShutdownCause to QMP events
SHUTDOWN and RESET.

Signed-off-by: Dominik Csapak <address@hidden>
---
  include/sysemu/sysemu.h | 20 --------------------
  qapi/run-state.json     | 34 ++++++++++++++++++++++++++++++++++
  2 files changed, 34 insertions(+), 20 deletions(-)

+++ b/qapi/run-state.json

+# @subsystem-reset: Partial guest reset that does not trigger QMP events and
+#                  ignores --no-reboot. This is useful for sanitizing
+#                  hypercalls on s390 that are used during kexec/kdump/boot

Is it ever possible for a user to see this state, or is the intent that it is internal-only?  But it's not the first time we've leaked internal states into enums (see, for example, 'null' within JobStatus in job.json), so it's not a showstopper.


afaics, it is not possible to get this via an event, but i wanted
to keep the comment somehow.
should i mark it with an '(internal only)' or something similar?




reply via email to

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