From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TC70N-0008Tt-Lo for qemu-devel@nongnu.org; Thu, 13 Sep 2012 06:50:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TC70J-00065A-Kb for qemu-devel@nongnu.org; Thu, 13 Sep 2012 06:50:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TC70J-00064s-CC for qemu-devel@nongnu.org; Thu, 13 Sep 2012 06:50:39 -0400 Date: Thu, 13 Sep 2012 13:50:33 +0300 From: Gleb Natapov Message-ID: <20120913105033.GB20907@redhat.com> References: <87pq5r5otp.fsf@codemonkey.ws> <5050B7E2.3070803@weilnetz.de> <20120912164518.GD25041@redhat.com> <5050C6A0.8050800@weilnetz.de> <20120912181312.GE25041@redhat.com> <5050E66D.4090900@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5050E66D.4090900@weilnetz.de> Subject: Re: [Qemu-devel] Rethinking missed tick catchup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Michael Roth , Jan Kiszka , qemu-devel@nongnu.org, Luiz Capitulino , Avi Kivity , Anthony Liguori , Paolo Bonzini , Eric Blake On Wed, Sep 12, 2012 at 09:45:49PM +0200, Stefan Weil wrote: > Am 12.09.2012 20:13, schrieb Gleb Natapov: > >On Wed, Sep 12, 2012 at 07:30:08PM +0200, Stefan Weil wrote: > >>I also meant host hibernation. > >Than I don't see how guest can handle the situation since it has > >no idea that it was stopped. Qemu has not idea about host hibernation > >either. > > The guest can compare its internal timers (which stop > when the host hibernates) with external time references > (NTP, hw clock or any other clock reference). Are you prosing to run ntpdate in a loop inside a guest? -- Gleb.