[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Time jumping forward on HVM domU's



On Thu, Dec 16, 2010 at 09:16:59PM +0200, Pasi Kärkkäinen wrote:
> On Thu, Dec 16, 2010 at 02:09:10PM -0500, Juan Luis Baptiste wrote:
> > On Thu, Dec 16, 2010 at 1:11 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> > >>
> > >> I'm missing any configuration to get the clock working fine on HVM
> > >> domU's ? of course I could convert them to PVM but they are around 20
> > >> of them so if there's some configuration I could do to them to fix
> > >> this issue it would be a lot better.
> > >>
> > >
> > > Hello,
> > >
> > > What clocksource is your HVM guest kernel using?
> > >
> > 
> > The default one I suppose ? AFAIK, I haven't specified any
> > configuration parameter for that. Here is the config file of one of my
> > domU's:
> > 
> 
> You can't specify that for an HVM guest from a xen cfgfile.
> You need to check it from inside the HVM guest, like this:
> 
> cat /sys/devices/system/clocksource/clocksource0/current_clocksource
> cat /sys/devices/system/clocksource/clocksource0/available_clocksource
> 
> Please paste the output of those.
> 

Also I'm wondering it this is related:
http://lxr.xensource.com/lxr/source/docs/misc/tscmode.txt

You could try different tsc_mode options.

-- Pasi

> 
> 
> > name = "PruebaPVM"
> > uuid = "5d967a22-090f-4d3e-9f0f-0685d7de3c05"
> > maxmem = 512
> > memory = 256
> > vcpus = 1
> > builder = "hvm"
> > kernel = "/usr/lib/xen/boot/hvmloader"
> > boot = "c"
> > pae = 1
> > acpi = 1
> > apic = 1
> > localtime = 0
> > on_poweroff = "destroy"
> > on_reboot = "restart"
> > on_crash = "restart"
> > device_model = "/usr/lib64/xen/bin/qemu-dm"
> > sdl = 0
> > vnc = 1
> > vncunused = 1
> > keymap = "en-us"
> > disk = [ "tap:aio:/var/lib/xen/images/pruebaPVM/pruebaPVM.img,xvda,w", \
> >         "tap:aio:/var/lib/xen/images/pruebaPVM/swapPruebaPVM.img,xvdb,w" ]
> > vif = [ "mac=00:16:36:3c:37:11,bridge=xenbr0,script=vif-bridge" ]
> > parallel = "none"
> > serial = "pty"
> > #localtime=1
> > #timer_mode = 2
> > 
> > --
> > Juancho
> > 
> > _______________________________________________
> > 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.