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-users

RE: [Xen-users] Desynchronize clock

To: "Steve Brueckner" <steve@xxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Desynchronize clock
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 7 Mar 2007 19:23:17 +0100
Delivery-date: Wed, 07 Mar 2007 10:22:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <60D45469A1AAD311A04C009027B6BF680614683A@SERVER20>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acdg4/y3JHEN4M02SlGtyuZLhFu6bgAAV1ZA
Thread-topic: [Xen-users] Desynchronize clock
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Steve Brueckner
> Sent: 07 March 2007 18:11
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Desynchronize clock
> 
> Petersson, Mats wrote:
> >> -----Original Message-----
> >> I don't want my dom0 to update the clock in my HVM domU.  I've
> >> already disabled network-based time synchronization inside the HVM.
> >> I've tried
> >> setting /proc/sys/xen/independent_wallclock=1 and then restarting
> >> xend, but the guest still gets the correct time.
> > 
> > Did you set independent wallclock in the guest or on Dom0? 
> You should
> > set it on guest, as that's "who" should have a different clock to
> > Dom0, right? It's a per-domain settings, so individual domains are
> > allowed to be either independent or "same".   
> > 
> 
> Ah, good point.  Unfortunately, the guest is Windows, so there is no 
> /proc/sys/xen/independent_wallclock setting inside the HVM.  What I 
> need is a way to tell domU which domains should be given 
> access to the 
> system or hardware clocks.

Yes, someone else pointed out that it was a HVM guest after I'd written
the reply (typical "did not read all of the important bit"). But
indpendent_wallclock is really a per-domain setting anyways, so it's not
really right to set it in Dom0. 


> 
> In a recent, related post, someone said that for HVMs, "Dom0 time has 
> no bearing to the guest's time."  However, every time I reboot the 
> Windows HVM it has the correct time.  Since I've disabled 
> network-based 
> time synch inside the Windows HVM, I have to assume it's getting the 
> time from either dom0's system clock or from the hardware 
> clock on the 
> motherboard, no?

Actually, I think the time is kept by the virtual CMOS and Timer
functionality in the HVM + QEMU-DM parts of Xen. 

You may be able to tweak those with some tools... I don't think the
tools exist today tho'. 

--
Mats
> 
> Steve Brueckner, ATC-NY
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



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

<Prev in Thread] Current Thread [Next in Thread>