Re: [Qemu-devel] [PATCH 2/2] mc146818rtc: Reset the periodic timer on load

2015-06-18 Thread Paul Donohue
On Wed, Jun 17, 2015 at 04:01:33PM +0200, Paolo Bonzini wrote: > On 12/06/2015 16:10, Paul Donohue wrote: > > To correct that problem, this commit resets the periodic timer after > > loading from a snapshot or migration if the clock has either jumped > > backward or has jumped forward by more than

Re: [Qemu-devel] [PATCH 2/2] mc146818rtc: Reset the periodic timer on load

2015-06-17 Thread Paolo Bonzini
On 12/06/2015 16:10, Paul Donohue wrote: > To correct that problem, this commit resets the periodic timer after > loading from a snapshot or migration if the clock has either jumped > backward or has jumped forward by more than the clock jump limit that > is used by the reset notifier code in qem

[Qemu-devel] [PATCH 2/2] mc146818rtc: Reset the periodic timer on load

2015-06-12 Thread Paul Donohue
When loading a VM from a snapshot or migration, clock changes can cause the periodic timer to stall or loop rapidly. qemu-timer has a reset notifier mechanism that is used to avoid timer stalls or loops if the host clock changes while the VM is running when using QEMU_CLOCK_HOST. However, when lo