From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: Timedrift in KVM guests after livemigration. Date: Mon, 19 Apr 2010 12:29:19 +0300 Message-ID: <20100419092919.GA10744@redhat.com> References: <4BC6C1B1.5010206@monsternett.no> <4BCA1164.1030808@monsternett.no> <4BCA1756.6060800@msgid.tls.msk.ru> <4BCA4296.2080608@monsternett.no> <4BCACF6E.4010108@redhat.com> <20100418095659.GC4550@redhat.com> <4BCC20AB.3090908@monsternett.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Espen Berg Return-path: Received: from mx1.redhat.com ([209.132.183.28]:34231 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752929Ab0DSJ3Y (ORCPT ); Mon, 19 Apr 2010 05:29:24 -0400 Content-Disposition: inline In-Reply-To: <4BCC20AB.3090908@monsternett.no> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Apr 19, 2010 at 11:21:47AM +0200, Espen Berg wrote: > Den 18.04.2010 11:56, skrev Gleb Natapov: > > >>That's two different things here: > >>The issue that Espen is reporting is that the hosts have different > >>frequency and guests that relay on the tsc as a source clock will > >>notice that post migration. The is indeed a problem that -tdf does > >>not solve. -tdf only adds compensation for the RTC clock emulation. > >> > >It's -rtc-td-hack. -tdf does pit compensation, but since usually kernel > >pit is used it does nothing. > > So this "hack" will not solve our problem? > If your guest uses RTC for time keeping it may help. Otherwise it does nothing. -- Gleb.