Re: time setting after suspend/resume

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

 



On 10/02/2014 04:01 AM, Martin Kletzander wrote:

>>> What version of libvirt are you using?  Since 1.2.5 there's
>>> virDomainSetTime() API that can do this and since 1.2.8 it's called
>>> automatically after resume.
>>
>> Umm, I have a problem with that statement.  Anything that requires guest
>> interaction (which guest-agent set-time does) must NOT default to being
>> automatic; it is only safe to enable if explicitly allowed.  What is the
>> domain XML that must be explicitly set in order to turn on automatic
>> time-set after resume?
>>
> 
> Oh, sorry, my fault.  I was under the impression that Michal created
> the API especially for this purpose, but looking at the code it's not
> done automatically.

At one point, I seem to recall a proposal of adding an <on_resume> tag
to domain xml that could explicitly request time resync each time the
domain is resumed; but I don't know if anyone implemented it yet.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux