From: Eric Blake <eblake@redhat.com>
To: Luiz Capitulino <lcapitulino@redhat.com>
Cc: qemu-devel@nongnu.org, kraxel@redhat.com
Subject: Re: [Qemu-devel] [PATCH 2/4] qmp: emit the WAKEUP event when the guest is put to run
Date: Thu, 09 Aug 2012 11:57:38 -0600 [thread overview]
Message-ID: <5023FA12.2030005@redhat.com> (raw)
In-Reply-To: <1344533300-6422-3-git-send-email-lcapitulino@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]
On 08/09/2012 11:28 AM, Luiz Capitulino wrote:
> Today, the WAKEUP event is emitted when a wakeup _request_ is made.
> This could be the system_wakeup command, for example.
>
> A better semantic would be to emit the event when the guest is
> already running, as that's what matters in the end. This commit does
> that change.
>
> In theory, this could break compatibility. In practice, it shouldn't
> happen though, as clients shouldn't rely on timing characteristics of
> the events. That is, a client relying that the guest is not running
> when the event arrives may break if the event arrives after the guest
> is already running.
Yeah, no problem with that semantic change from libvirt.
> +WAKEUP
> +------
> +
> +Emitted when the guest has been waken up from S3 and is running.
grammar:
s/has been waken/has woken/
or maybe
s/has been waken up/has been awakened/
--
Eric Blake eblake@redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 620 bytes --]
next prev parent reply other threads:[~2012-08-09 17:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-09 17:28 [Qemu-devel] [PATCH 0/4]: qmp: WAKEUP event related fixes Luiz Capitulino
2012-08-09 17:28 ` [Qemu-devel] [PATCH 1/4] qmp: don't emit the RESET event on wakeup from S3 Luiz Capitulino
2012-08-09 17:28 ` [Qemu-devel] [PATCH 2/4] qmp: emit the WAKEUP event when the guest is put to run Luiz Capitulino
2012-08-09 17:57 ` Eric Blake [this message]
2012-08-09 20:40 ` Luiz Capitulino
2012-08-09 17:28 ` [Qemu-devel] [PATCH 3/4] qmp: qmp-events.txt: put events in alphabetical order Luiz Capitulino
2012-08-09 19:29 ` Eric Blake
2012-08-09 20:38 ` Luiz Capitulino
2012-08-09 17:28 ` [Qemu-devel] [PATCH 4/4] qmp: qmp-events.txt: add missing doc for the SUSPEND event Luiz Capitulino
2012-08-09 19:56 ` Eric Blake
2012-08-10 7:15 ` [Qemu-devel] [PATCH 0/4]: qmp: WAKEUP event related fixes Gerd Hoffmann
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=5023FA12.2030005@redhat.com \
--to=eblake@redhat.com \
--cc=kraxel@redhat.com \
--cc=lcapitulino@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).