From: Keir Fraser Subject: Re: Where is xtime updated in a domU with an independent wallclock? Date: Wed, 02 May 2007 08:16:01 +0100 Message-ID: References: <433755.42135.qm@web62414.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1872460362==" Return-path: In-Reply-To: <433755.42135.qm@web62414.mail.re1.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jay Patel , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============1872460362== Content-type: multipart/alternative; boundary="B_3260938562_272304" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3260938562_272304 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit On 2/5/07 07:41, "Jay Patel" wrote: > 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. Yes, a guest with independent wallclock should never sync with the wallclock time record provided by Xen, even after an unpause (the unpause is not explicitly visible to the guest anyway). -- Keir --B_3260938562_272304 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable Re: [Xen-devel] Where is xtime updated in a domU with an independent= wallclock?


On 2/5/07 07:41, "Jay Patel" <nitrofin@yahoo.com> wrote:
I have just started looking at the code for Xen so please bear with me.
 
A domU Linux kernel running with independent_wallclock=3D1 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 unp= ause",  i.e., domain_unpause_by_systemcontroller(). Right after th= e unpause, it seems to  me that the xtime in the domU should be what it= were just prior to the  pause.

Yes, a guest with independent wallclock should never sync with the wallcloc= k time record provided by Xen, even after an unpause (the unpause is not exp= licitly visible to the guest anyway).

 -- Keir
--B_3260938562_272304-- --===============1872460362== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1872460362==--