From: Dominik Csapak <d.csapak@proxmox.com>
To: Eric Blake <eblake@redhat.com>, qemu-devel@nongnu.org
Cc: kwolf@redhat.com, pbonzini@redhat.com, armbru@redhat.com,
mreitz@redhat.com
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 [thread overview]
Message-ID: <19f968af-7d63-115c-6610-bdee7030dcb4@proxmox.com> (raw)
In-Reply-To: <2a93ca10-e65f-b39a-f82f-f1f43abfdcf4@redhat.com>
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 <d.csapak@proxmox.com>
>> ---
>> 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.
>
next prev parent reply other threads:[~2018-12-04 7:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-03 9:26 [Qemu-devel] [PATCH v2 0/3] qapi: return ShutdownCause for events Dominik Csapak
2018-12-03 9:26 ` [Qemu-devel] [PATCH v2 1/3] qapi: Turn ShutdownCause into QAPI enum Dominik Csapak
2018-12-03 12:23 ` Markus Armbruster
2018-12-03 21:34 ` Eric Blake
2018-12-04 7:25 ` Dominik Csapak
2018-12-03 9:26 ` [Qemu-devel] [PATCH v2 2/3] qapi: Add reason to SHUTDOWN and RESET events Dominik Csapak
2018-12-03 12:26 ` Markus Armbruster
2018-12-03 21:30 ` Eric Blake
2018-12-04 5:37 ` Markus Armbruster
2018-12-03 21:36 ` Eric Blake
2018-12-04 7:26 ` Dominik Csapak [this message]
2018-12-03 9:26 ` [Qemu-devel] [PATCH v2 3/3] qapi: Split host-qmp into quit and system-reset Dominik Csapak
2018-12-03 12:28 ` Markus Armbruster
2018-12-03 21:38 ` Eric Blake
2018-12-04 7:27 ` Dominik Csapak
2018-12-03 12:29 ` [Qemu-devel] [PATCH v2 0/3] qapi: return ShutdownCause for events Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19f968af-7d63-115c-6610-bdee7030dcb4@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).