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/
Home Products Support Community News


[Xen-devel] Where is xtime updated in a domU with an independent wallclo

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Where is xtime updated in a domU with an independent wallclock?
From: Jay Patel <nitrofin@xxxxxxxxx>
Date: Tue, 1 May 2007 23:41:24 -0700 (PDT)
Delivery-date: Tue, 01 May 2007 23:39:53 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=cLtlw8yMVWcT2LoL4sVR/kquGbaitfnAs6f7jdXA2yMK1oRHftqc0Fa5qQbMGYiif92HxzpXhngbMs2QmvyV6UPTeSdgPpKsH3BeTLgHKoqKzHgxT7/tCy7jINIbrL/TK3rLSDJH7Xb0iN9YwPQvOxzmJYtd3gKmMh2vByI6D0A=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,
I have just started looking at the code for Xen so please bear with me.
A domU Linux kernel running with independent_wallclock=1 seems to sync its time with dom0 after every "xm unpause" (obviously preceded by an "xm pause").
I don't see where the xtime variable is being updated after an "xm unpause", i.e., domain_unpause_by_systemcontroller(). Right after the unpause, it seems to me that the xtime in the domU should be what it were just prior to the pause.
Any response would be greatly appreciated.

Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
Xen-devel mailing list