You are not logged in.

#1 2019-06-02 17:22:22

uopki
Member
Registered: 2019-06-02
Posts: 4

[SOLVED] QEMU/KVM - the system time runs too fast in Windows guest

Hi,
I've created a Windows 7 guest using virt-manager. The problem is that the system time in the guest is running much faster than in the host.
You can see how it looks like in the following gif: https://postimg.cc/R38MYjqf. Just look how faster moves a seconds hand of the analog clock in the guest compared to the host's.

Last edited by uopki (2019-06-03 05:09:15)

Offline

#2 2019-06-03 03:07:06

Toolybird
Member
Registered: 2017-09-30
Posts: 72

Re: [SOLVED] QEMU/KVM - the system time runs too fast in Windows guest

Yes, since qemu-4.0 I see something similar when using Win 7 on q35 chipset.

I work around it for now by changing the machine type to `pc-q35-3.1'

Haven't delved too deeply yet (ie: haven't yet reported a bug upstream)

Offline

#3 2019-06-03 05:08:34

uopki
Member
Registered: 2019-06-02
Posts: 4

Re: [SOLVED] QEMU/KVM - the system time runs too fast in Windows guest

Changing chipset type works well, thanks. I think that's enough for me.

Last edited by uopki (2019-06-03 05:11:56)

Offline

#4 2019-06-05 23:41:30

Toolybird
Member
Registered: 2017-09-30
Posts: 72

Re: [SOLVED] QEMU/KVM - the system time runs too fast in Windows guest

Root cause identified. Full story here:

https://bugzilla.redhat.com/show_bug.cgi?id=1704375

Offline

#5 2019-07-23 14:33:35

footdot
Member
Registered: 2019-07-23
Posts: 2

Re: [SOLVED] QEMU/KVM - the system time runs too fast in Windows guest

Hello!

QEMU emulator version 4.0.0

I see that the subj is solved, but can't see the solution wink
I just got the same trouble.
Nothing could help me. None of the chipset options. Until I changed xml config of my vm from name="hpet" present="no" to "yes"

Best regards.

Offline

#6 2019-07-23 14:41:41

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: [SOLVED] QEMU/KVM - the system time runs too fast in Windows guest

machine type pc-q35-3.1 was the workaround until 4.1 is released with https://github.com/qemu/qemu/commit/c87 … d51f0ee871

Offline

#7 2019-07-25 15:48:41

footdot
Member
Registered: 2019-07-23
Posts: 2

Re: [SOLVED] QEMU/KVM - the system time runs too fast in Windows guest

By the way, Windows Vista and later versions support HPET and, seems like, cannot work properly without it.
But Virt Manager doesn't activate this options by default, even you choose "Windows 7" as a type of vm.
It's a bit confusing(

Offline

Board footer

Powered by FluxBB