From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [BUG 2.6.32.y] Broken PV migration between hosts with different uptime, non-monotonic time? Date: Fri, 4 May 2012 11:39:03 +0100 Message-ID: <4FA3B1C7.4060201@citrix.com> References: <201205041054.04079.hahn@univention.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201205041054.04079.hahn@univention.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Philipp Hahn Cc: Thomas Gleixner , Jeremy Fitzhardinge , Xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 04/05/12 09:54, Philipp Hahn wrote: > Hello, > > I encountered the following bug when migrating a Linux-2.6.32.54 PV domain on > Xen-3.4.3 between different hosts, whose uptime differs by several minutes (3 > hosts, each ~5 minutes apart): When migrating from a host with lower uptime > to a host with higher uptime, the VM looses it's network connection for some > time and then continues after some minutes (roughly equivalent to the > difference in uptime?). > There are two different symptoms: Either the VM becomes unpingable, or the VM > is pingable but the ssh-connection freezes: a while-loop dumping /proc/uptime > freezes and continues without a jump after the freeze is over. Xen 3.4 doesn't ensure that the TSC is stable across migrates (Xen 4.0 does). If the host CPU has the CONSTANT_TSC bit in the Advanced Power Management CPUID leaf it will pass this through to the guest which makes the guest think the TSC is stable. Can you try this libxc patch? 8<------------------------ libxc: clear CONSTANT_TSC bit in Advanced Power Management CPUID leaf Even if the TSC is constant on a host, it won't be constant across a migrate. Signed-off-by: David Vrabel