From: Eric Blake <eblake@redhat.com>
To: Lei Li <lilei@linux.vnet.ibm.com>
Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH 0/2 v5] Time resync support by qemu-ga
Date: Tue, 05 Mar 2013 08:46:13 -0700 [thread overview]
Message-ID: <51361345.10306@redhat.com> (raw)
In-Reply-To: <1362476352-31414-1-git-send-email-lilei@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
On 03/05/2013 02:39 AM, Lei Li wrote:
> This patch series attempts to add time resync support
> to qemu-ga by introducing qemu-ga commands guest-get-time
> and guest-set-time.
>
> Right now, when a guest is paused or migrated to a file
> then loaded from that file, the guest OS has no idea that
> there was a big gap in the time. Depending on how long the
> gap was, NTP might not be able to resynchronize the guest.
> So adding new guest-agent command that is called any time
> a guest is resumed and which tells the guest to update its
> own wall clock time based on the information from the host
> will make it easier for a guest to resynchronize without
> waiting for NTP.
>
> The previous RFC send for discussion and suggestion as link
> here:
>
> http://article.gmane.org/gmane.comp.emulators.qemu/186126
>
> The interface for these commands like:
>
> { 'command': 'guest-get-time', 'returns': 'int' }
>
> { 'command': 'guest-set-time', 'data': { 'time': int } }
>
> Notes:
> For the implementition of win32-specific commands, I plan
> to send it out in another thread later.
>
> Suggestions and comments are welcome!
>
> Changes since v4:
> - Fix the missing error exit pointed by Eric.
> - Doc improvement from Eric.
Thanks. Series:
Reviewed-by: Eric Blake <eblake@redhat.com>
--
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: 621 bytes --]
next prev parent reply other threads:[~2013-03-05 15:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-05 9:39 [Qemu-devel] [PATCH 0/2 v5] Time resync support by qemu-ga Lei Li
2013-03-05 9:39 ` [Qemu-devel] [PATCH 1/2] qga: add guest-get-time command Lei Li
2013-03-05 9:39 ` [Qemu-devel] [PATCH 2/2] qga: add guest-set-time command Lei Li
2013-03-05 15:46 ` Eric Blake [this message]
2013-03-05 22:58 ` [Qemu-devel] [PATCH 0/2 v5] Time resync support by qemu-ga mdroth
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=51361345.10306@redhat.com \
--to=eblake@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=lilei@linux.vnet.ibm.com \
--cc=mdroth@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.