WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Re: [BUG 1282] time jump on live migrate root cause & pr

To: "Rik van Riel" <riel@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: [BUG 1282] time jump on live migrate root cause & proposed fixes
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 7 Aug 2008 10:22:00 +0800
Cc:
Delivery-date: Wed, 06 Aug 2008 19:23:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080806220042.640d9956@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080806164657.647bc167@xxxxxxxxxxxxxxxxxxx> <20080806220042.640d9956@xxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acj4MXlEceSHw1zXT/GWQd2OFqaf8gAAmxRQ
Thread-topic: [Xen-devel] Re: [BUG 1282] time jump on live migrate root cause & proposed fixes
>From: Rik van Riel
>Sent: 2008年8月7日 10:01
>This really makes me wonder why the guest is getting its
>clock messed up by the difference of system uptimes when
>live migrating from one system to another, between two
>hosts that are NTP synced.
>
>The reason is that wc_sec + wc_nsec + system_timestamp
>should always be the same across multiple systems, since
>this equals system boot time + uptime.
>
>
>Does anybody know why a save/restore or a live migrate
>would mess things up?

Forgot my previous mail just sent out. As you said, ideally
existing implementation looks correct, except uptime is
unexpectedly stamped into some other components like
timer related structures? :-(

Thanks,
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel