Skip to contentSkip to conversation

Clock skew after pausing guests

DISCUSSION Virtbie 2 participants 2 messages Mar 17, 2011 KVM

lore
Share & tools
lore

Virtbie

author
#0 lore raw

Hello all
I am seeing, perhaps unsurprisingly, a skewed system clock after pausing and then resuming a qemu-kvm guest. The guest continues with its earlier time.
Since I'd like to use the pause technique for backups, which can take 1 hour, this is significant.

This is with windows guests, and it doesn't seem to recover by itself just by waiting.

Linux guests instead seem to adjust their clock correctly after the resume.

Is there any way to tell the windows guests to resynchronize its clock with the host?
I am using virsh / libvirt.

Thank you

#1 lore raw

Have you checked with Windows Time service enabled in the guest?

net start w32time

Best Regards,
Timur

2011/3/17 Virtbie <[email protected]>:

Quoted 23 lines

Hello all
I am seeing, perhaps unsurprisingly, a skewed system clock after pausing and then resuming a qemu-kvm guest. The guest continues with its earlier time.
Since I'd like to use the pause technique for backups, which can take 1 hour, this is significant.

This is with windows guests, and it doesn't seem to recover by itself just by waiting.

Linux guests instead seem to adjust their clock correctly after the resume.

Is there any way to tell the windows guests to resynchronize its clock with the host?
I am using virsh / libvirt.

Thank you

--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html