From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCu4J-0004Nl-NR for qemu-devel@nongnu.org; Tue, 05 Mar 2013 10:46:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCu4H-0004Kx-Ri for qemu-devel@nongnu.org; Tue, 05 Mar 2013 10:46:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCu4H-0004Jo-Jn for qemu-devel@nongnu.org; Tue, 05 Mar 2013 10:46:17 -0500 Message-ID: <51361345.10306@redhat.com> Date: Tue, 05 Mar 2013 08:46:13 -0700 From: Eric Blake MIME-Version: 1.0 References: <1362476352-31414-1-git-send-email-lilei@linux.vnet.ibm.com> In-Reply-To: <1362476352-31414-1-git-send-email-lilei@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2WRUTNMULFXLXPDITMTSD" Subject: Re: [Qemu-devel] [PATCH 0/2 v5] Time resync support by qemu-ga List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lei Li Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2WRUTNMULFXLXPDITMTSD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > The previous RFC send for discussion and suggestion as link > here: >=20 > http://article.gmane.org/gmane.comp.emulators.qemu/186126 >=20 > The interface for these commands like: >=20 > { 'command': 'guest-get-time', 'returns': 'int' } >=20 > { 'command': 'guest-set-time', 'data': { 'time': int } } >=20 > Notes: > For the implementition of win32-specific commands, I plan > to send it out in another thread later. >=20 > Suggestions and comments are welcome! >=20 > Changes since v4: > - Fix the missing error exit pointed by Eric. > - Doc improvement from Eric. Thanks. Series: Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2WRUTNMULFXLXPDITMTSD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRNhNFAAoJEKeha0olJ0NqkJoH/0Tkh0eZFtjH43tih54youON 6IjEbS2ChT0e8vJa9KtL6KS1jZj0b54IltOklih8ojD6JrFQ+3FQW0O1mHbI3oNk bsrjFKOTik0mfKo1al4qobxIFYHhzMiJyzEFvo8tmKFxwjChDBIuR7If2AI/qqLq JeLrbwmdRHNIxGxbKVUXSQPPPgFIQW0SpaemcJC/YOKUKZDs1aFHZumPnjXOhpX2 t+jQ53Ad+KnXVCl8whGwX5Y/KdTdrW82B6WHSYoFXu1QtrEEBQsjAVSdgYpMdDnI mEkTdNmA8xuEh0zeklay+J/0OJ+/xjMZHAgALjFUem5s43otkS2yZLszYVQhfnU= =VwG0 -----END PGP SIGNATURE----- ------enig2WRUTNMULFXLXPDITMTSD--