[libvirt-users] How to set manually starting date/time for guest kvm

Matt Xtlm mattxtlm at gmail.com
Tue Feb 21 11:07:05 UTC 2017


Hi there,

is there a way to set a guest to start with a specific date and time. (e.g.
when guest boots, starting guest time should always be
(2017-02-05T12:00:00)).

I've tried something like this in my kvm domain:

  <clock offset='variable' adjustment='-86400' basis='localtime'>
    <timer name='rtc' tickpolicy='delay' track='guest'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>

However, i can't insert a specific date and time statement (like starting
kvm with -rtc base="2017-02-05T12:00:00").

The date/time must be set before starting the vm and must always be the
same.

Cheers,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170221/cf862b4b/attachment.htm>


More information about the libvirt-users mailing list