From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCAVe-0004wj-Dj for qemu-devel@nongnu.org; Thu, 13 Sep 2012 10:35:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCAVY-00021C-FL for qemu-devel@nongnu.org; Thu, 13 Sep 2012 10:35:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCAVX-0001xs-Vt for qemu-devel@nongnu.org; Thu, 13 Sep 2012 10:35:08 -0400 Message-ID: <5051EF0D.4070109@redhat.com> Date: Thu, 13 Sep 2012 17:34:53 +0300 From: Avi Kivity MIME-Version: 1.0 References: <87pq5r5otp.fsf@codemonkey.ws> <20120912151549.GT20907@redhat.com> <87y5kfrtne.fsf@codemonkey.ws> <20120913104940.GA20907@redhat.com> <5051DC20.4090204@redhat.com> <20120913132804.GO7767@redhat.com> <87r4q6xbiy.fsf@codemonkey.ws> <20120913142228.GK20907@redhat.com> In-Reply-To: <20120913142228.GK20907@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Rethinking missed tick catchup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: Jan Kiszka , Michael Roth , qemu-devel@nongnu.org, Anthony Liguori , Paolo Bonzini , Luiz Capitulino , Eric Blake On 09/13/2012 05:22 PM, Gleb Natapov wrote: >> >> It's much easier for us to call into qemu-ga to do the time correction >> whenever this event occurs than to try and have libvirt figure out when >> it's necessary. > And if guest does not have qemu-ga what is better inject interrupts like > crazy for next 2 minutes or leave guest with incorrect time? We can try to S3 and resume the guest. The guest will assume that it has slept for an unknown amount of time and resync from the RTC. This may not work for really old server oriented guests. -- error compiling committee.c: too many arguments to function