[libvirt] [PATCHv2 libvirt] qemu: Issue rtc-reset-reinjection command after guest-set-time

Eric Blake eblake at redhat.com
Tue Aug 19 17:00:26 UTC 2014


On 08/19/2014 10:57 AM, Marcelo Tosatti wrote:
> 
> rtc-reset-reinjection has been introduced because certain Windows
> versions will advance the guest system time (via rtc interrupt
> reinjection).
> 
> So if libvirt adjusts the guest system time via guest-set-time, 
> allowing rtc interrupt reinjection to compensate for lost time, 
> as well, will cause an incorrect guest system time.
> 
> So you should always use the 
> 
>     guest-set-time
>     rtc-reset-reinjection
> 
> pair.

But is that true both for the 'guest-set-time' no-arg case (which tells
the guest to read the current RTC and update in-memory time
accordingly), as well as the 'guest-set-time with time argument' case
(which tells the guest to forcefully set in-memory time, then write that
time back to the RTC)?

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140819/cccd4ed0/attachment-0001.sig>


More information about the libvir-list mailing list