From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJmlw-0006re-Lz for qemu-devel@nongnu.org; Tue, 19 Aug 2014 13:00:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJmlq-0007zP-9B for qemu-devel@nongnu.org; Tue, 19 Aug 2014 13:00:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJmlp-0007v9-SQ for qemu-devel@nongnu.org; Tue, 19 Aug 2014 13:00:30 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7JH0RSc021417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 19 Aug 2014 13:00:28 -0400 Message-ID: <53F382AA.5020405@redhat.com> Date: Tue, 19 Aug 2014 11:00:26 -0600 From: Eric Blake MIME-Version: 1.0 References: <075846faf30f2244fbaaf2c9f47cbae58a9524db.1408004697.git.mprivozn@redhat.com> <53F21B82.4050006@redhat.com> <53F229F6.6090602@redhat.com> <20140819165713.GA4488@amt.cnet> In-Reply-To: <20140819165713.GA4488@amt.cnet> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="I5TGwqsdd8seq1lgmrrIRjHF4H221EbB5" Subject: Re: [Qemu-devel] [libvirt] [PATCHv2 libvirt] qemu: Issue rtc-reset-reinjection command after guest-set-time List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcelo Tosatti , Michal Privoznik Cc: libvir-list@redhat.com, qemu-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --I5TGwqsdd8seq1lgmrrIRjHF4H221EbB5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/19/2014 10:57 AM, Marcelo Tosatti wrote: >=20 > rtc-reset-reinjection has been introduced because certain Windows > versions will advance the guest system time (via rtc interrupt > reinjection). >=20 > So if libvirt adjusts the guest system time via guest-set-time,=20 > allowing rtc interrupt reinjection to compensate for lost time,=20 > as well, will cause an incorrect guest system time. >=20 > So you should always use the=20 >=20 > guest-set-time > rtc-reset-reinjection >=20 > pair. But is that true both for the 'guest-set-time' no-arg case (which tells the guest to read the current RTC and update in-memory time accordingly), as well as the 'guest-set-time with time argument' case (which tells the guest to forcefully set in-memory time, then write that time back to the RTC)? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --I5TGwqsdd8seq1lgmrrIRjHF4H221EbB5 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJT84KqAAoJEKeha0olJ0NqccYH/2kiV6ExKFKbiufyziYcARe9 vL6qHALT5eVDWRK1KLgmb/LqZEpN2hHuFQOOsd7glBdXysEqLLl3cjEGban6UdD2 tZ3l3q5LmTvjZZF8ICmlpi3EfCWVzw/NLWikOFZMOcllMqYipNHan3vmXm+ux/Qp 02b6jNEAXJTE2wd+5lavCDe+a5OXwez1KkPSuVVKUjrCqgGfzY2Oe9Rcq+H4SqtL BMFPb3dGeAZihXL0M1NbAE7PVzo/ExeFBaAvUnB88E9kPIBTdvqJ5bjwHTpLP1xK 8zHn7+cbECekIp6IfLAHjF3B3qAyCAp/mKyEjqc1lfTYrgml+tiZIHtEwVcj8a0= =Obq1 -----END PGP SIGNATURE----- --I5TGwqsdd8seq1lgmrrIRjHF4H221EbB5--