[drbd-mc] LCMC feature request to fix clock skew in Windows guests.

Caspar Smit c.smit at truebit.nl
Thu Dec 13 14:37:15 CET 2012


Hi Rasto,

First of all, thank you for fixing the "close VNC console windows on
shutdown" in v1.4.2
This is a much appreciated feature!

Now for something totally different.

I noticed that in Windows 7 and Windows 2008 based VM's the clock of the
guest falls behind the host's clock.
Under heavy load of the VM this can result in 4 minutes behind during a 15
minutes period, quite a lot.

To fix this I found a combination of needed options in Libvirt:

<clock offset='localtime'>
  <timer name='rtc' tickpolicy='catchup'/>
  <timer name='hpet' present='no'/>
</clock>


Default LCMC creates:
<clock offset='utc'/>

offset=localtime is best to use for Windows guests (according to the
qemu-kvm manpage).

It would be really nice if these libvirt options were configurable in LCMC.

Kind regards,

Caspar Smit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20121213/97139c2d/attachment.htm>


More information about the drbd-mc mailing list