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] Time diferrence between dom0 and domU

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Time diferrence between dom0 and domU
From: Matthieu Patou <mat+Informatique.xen@xxxxxxxxx>
Date: Fri, 13 Nov 2009 18:59:22 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 13 Nov 2009 08:00:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091111093248.GO16033@xxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4AF28B04.4090602@xxxxxxxxxxxx> <4AF9D51B.8030407@xxxxxxxxx> <20091111093248.GO16033@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4
On 11/11/2009 12:32, Pasi Kärkkäinen wrote:
On Wed, Nov 11, 2009 at 12:03:23AM +0300, Matthieu Patou wrote:
Hello Jordi,
I noticed the same problem and that's pretty nasty on HVM host running
windows as the system can't login on domain by defaut due to too big
time drift.

I worked around by adding ~ 6 minutes to the time of the domU at startup.

Can you please paste your /etc/xen/<windowsguest>  cfgfile.. let's see if
there's something to tweak, related to that time problem.

-- Pasi
Here it is:

import os, re, time

arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen-3.2-1/boot/hvmloader"

builder='hvm'
memory = 1500
shadow_memory = 16
name = "xen-w2k8"
vif = [ 'bridge=br1' ]
disk = [ 'phy:/dev/vgxen/lvvz01_w2k8,hda']
device_model = '/usr/' + arch_libdir + '/xen-3.2-1/bin/qemu-dm'
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="c"
acpi = 1
apic = 1
sdl=0
vnc=1
usb=1
#usbdevice=[ 'tablet', 'host:04b9:0300']
usbdevice='tablet'
# Have to make a clever thing for daylight saving ...
rtc_timeoffset=-(time.altzone)
localtime=0
stdvga=0
vncconsole=1
vncpasswd='chazam'
monitor=1
serial='pty'
vncviewer = 0
vcpus = 2
cpus = '2,3'
independent_wallclock = 1




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