All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Occasional clockjump in Win2012 after Live Migration
@ 2013-12-12 16:03 Peter Lieven
  2013-12-13  4:12 ` Vadim Rozenfeld
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Lieven @ 2013-12-12 16:03 UTC (permalink / raw)
  To: qemu-devel, vrozenfe

Hi,

is anyone aware of a problem with a clock jump in Windows (observed in Server 2012)
where after a successful live migration the clock jumps roughly 2 days into the future?

Maybe this is already fixed we observed this with qemu-kvm-1.2.0. I have not yet managed
to reproduce this, but it definetly happens.

Where is Windows getting the system clock from? RTC or addtionally internal clocksources
like HPET, PM_TIMER etc?

Thanks,
Peter

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Occasional clockjump in Win2012 after Live Migration
  2013-12-12 16:03 [Qemu-devel] Occasional clockjump in Win2012 after Live Migration Peter Lieven
@ 2013-12-13  4:12 ` Vadim Rozenfeld
  2013-12-13  8:27   ` Peter Lieven
  0 siblings, 1 reply; 7+ messages in thread
From: Vadim Rozenfeld @ 2013-12-13  4:12 UTC (permalink / raw)
  To: Peter Lieven; +Cc: qemu-devel

Does your VM belong to domain or workgroup? 
Best regards,
Vadim.

----- Original Message -----
From: "Peter Lieven" <pl@kamp.de>
To: qemu-devel@nongnu.org, vrozenfe@redhat.com
Sent: Friday, December 13, 2013 3:03:45 AM
Subject: Occasional clockjump in Win2012 after Live Migration

Hi,

is anyone aware of a problem with a clock jump in Windows (observed in Server 2012)
where after a successful live migration the clock jumps roughly 2 days into the future?

Maybe this is already fixed we observed this with qemu-kvm-1.2.0. I have not yet managed
to reproduce this, but it definetly happens.

Where is Windows getting the system clock from? RTC or addtionally internal clocksources
like HPET, PM_TIMER etc?

Thanks,
Peter

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Occasional clockjump in Win2012 after Live Migration
  2013-12-13  4:12 ` Vadim Rozenfeld
@ 2013-12-13  8:27   ` Peter Lieven
  2013-12-13 10:10     ` Vadim Rozenfeld
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Lieven @ 2013-12-13  8:27 UTC (permalink / raw)
  To: Vadim Rozenfeld; +Cc: qemu-devel

Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:
> Does your VM belong to domain or workgroup? 

We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.

Do you have evidence how the DateTime Clock is driven in Windows 2012?

Peter

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Occasional clockjump in Win2012 after Live Migration
  2013-12-13  8:27   ` Peter Lieven
@ 2013-12-13 10:10     ` Vadim Rozenfeld
  2013-12-13 11:50       ` Peter Lieven
  0 siblings, 1 reply; 7+ messages in thread
From: Vadim Rozenfeld @ 2013-12-13 10:10 UTC (permalink / raw)
  To: Peter Lieven; +Cc: qemu-devel

On Fri, 2013-12-13 at 09:27 +0100, Peter Lieven wrote:
> Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:
> > Does your VM belong to domain or workgroup? 
> 
> We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.
> 
> Do you have evidence how the DateTime Clock is driven in Windows 2012?

Should be CMOS periodic timer.

> 
> Peter
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Occasional clockjump in Win2012 after Live Migration
  2013-12-13 10:10     ` Vadim Rozenfeld
@ 2013-12-13 11:50       ` Peter Lieven
  2013-12-13 12:53         ` Vadim Rozenfeld
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Lieven @ 2013-12-13 11:50 UTC (permalink / raw)
  To: Vadim Rozenfeld; +Cc: qemu-devel

Am 13.12.2013 11:10, schrieb Vadim Rozenfeld:
> On Fri, 2013-12-13 at 09:27 +0100, Peter Lieven wrote:
>> Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:
>>> Does your VM belong to domain or workgroup? 
>> We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.
>>
>> Do you have evidence how the DateTime Clock is driven in Windows 2012?
> Should be CMOS periodic timer.
you mean the RTC?
Ok, so if there is a huge clock jump this one must have got messed up?

Peter

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Occasional clockjump in Win2012 after Live Migration
  2013-12-13 11:50       ` Peter Lieven
@ 2013-12-13 12:53         ` Vadim Rozenfeld
  2013-12-13 12:55           ` Peter Lieven
  0 siblings, 1 reply; 7+ messages in thread
From: Vadim Rozenfeld @ 2013-12-13 12:53 UTC (permalink / raw)
  To: Peter Lieven; +Cc: qemu-devel

On Fri, 2013-12-13 at 12:50 +0100, Peter Lieven wrote:
> Am 13.12.2013 11:10, schrieb Vadim Rozenfeld:
> > On Fri, 2013-12-13 at 09:27 +0100, Peter Lieven wrote:
> >> Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:
> >>> Does your VM belong to domain or workgroup? 
> >> We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.
> >>
> >> Do you have evidence how the DateTime Clock is driven in Windows 2012?
> > Should be CMOS periodic timer.
> you mean the RTC?
Right.
> Ok, so if there is a huge clock jump this one must have got messed up?
It might be. We have seen some similar problem during WHQL testing some
time ago. The problem happened because time on the host was not set
correct. So guest was taking this wrong time on boot and then it was a
big jump after resync with domain controller.

best regards,
Vadim.   
> 
> Peter
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Occasional clockjump in Win2012 after Live Migration
  2013-12-13 12:53         ` Vadim Rozenfeld
@ 2013-12-13 12:55           ` Peter Lieven
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Lieven @ 2013-12-13 12:55 UTC (permalink / raw)
  To: Vadim Rozenfeld; +Cc: qemu-devel

Am 13.12.2013 13:53, schrieb Vadim Rozenfeld:
> On Fri, 2013-12-13 at 12:50 +0100, Peter Lieven wrote:
>> Am 13.12.2013 11:10, schrieb Vadim Rozenfeld:
>>> On Fri, 2013-12-13 at 09:27 +0100, Peter Lieven wrote:
>>>> Am 13.12.2013 05:12, schrieb Vadim Rozenfeld:
>>>>> Does your VM belong to domain or workgroup? 
>>>> We had 2 vServers where this happened. One was a Domain Controller and the second was an independent Workgroup Server.
>>>>
>>>> Do you have evidence how the DateTime Clock is driven in Windows 2012?
>>> Should be CMOS periodic timer.
>> you mean the RTC?
> Right.
>> Ok, so if there is a huge clock jump this one must have got messed up?
> It might be. We have seen some similar problem during WHQL testing some
> time ago. The problem happened because time on the host was not set
> correct. So guest was taking this wrong time on boot and then it was a
> big jump after resync with domain controller.
our system forbids starting of vservers on a host where the time is not synched. ;-)

the big jump i see seems to be introduced by the live migration. i will investigate further.

Peter

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-13 12:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-12 16:03 [Qemu-devel] Occasional clockjump in Win2012 after Live Migration Peter Lieven
2013-12-13  4:12 ` Vadim Rozenfeld
2013-12-13  8:27   ` Peter Lieven
2013-12-13 10:10     ` Vadim Rozenfeld
2013-12-13 11:50       ` Peter Lieven
2013-12-13 12:53         ` Vadim Rozenfeld
2013-12-13 12:55           ` Peter Lieven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.