[libvirt-users] How to use rtc_timeoffset (XL toolkit option) in Libvirt and Xen/libxl hypervisor?

Volo M. vm at vovs.net
Fri Feb 16 15:37:02 UTC 2018


Hello techs,

We used XL toolkit for Xen hypervisor for starting Windows hvm VMs and the
option rtc_timeoffset worked perfectly with XL. It helped us to set correct
Timezone time/offset for Windows HVM VMs from inside virtual_machine xen
config.

For example:
Below option WORKS perfectly with XL toolkit.
[root at hw12xen ~]# cat goillltawdlssq.xl.cfg | grep offset
rtc_timeoffset = "7200"   # +2 hours to UTC time (or +/-3600=+/-1 hour to
UTC time)
[root at hw12xen ~]#

Now we try to migrate all the Windows hvm VMs to using Libvirt and Xen
4.6.6 (or 4.4).
But as we see it's impossible to make VMs using correct time/offset set in
XML config like below:

below Libvirt option DOESN'T WORK as we expect...
[root at hw12xen ~]# cat goillltawdlssq.var.xml | grep offset
  <clock offset='variable' adjustment='7200' />
[root at hw12xen ~]#

Can you please explain if there's something we're doing wrong way or it's
just a bug like described here:
https://bugzilla.redhat.com/show_bug.cgi?id=1212191   ?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180216/e8a86c66/attachment.htm>


More information about the libvirt-users mailing list