Re: [Qemu-devel] [PATCH] spapr: clock should count only if vm is running

2017-01-27 Thread Laurent Vivier
On 27/01/2017 10:45, Thomas Huth wrote: > On 26.01.2017 21:45, Laurent Vivier wrote: >> This is a port to ppc of the i386 commit: >> 00f4d64 kvmclock: clock should count only if vm is running >> >> We remove timebase_/pre_save/post_load/ functions, >> and use the VM state change handler to save

Re: [Qemu-devel] [PATCH] spapr: clock should count only if vm is running

2017-01-27 Thread Thomas Huth
On 26.01.2017 21:45, Laurent Vivier wrote: > This is a port to ppc of the i386 commit: > 00f4d64 kvmclock: clock should count only if vm is running > > We remove timebase_/pre_save/post_load/ functions, > and use the VM state change handler to save and restore > the guest_timebase (on stop and

Re: [Qemu-devel] [PATCH] spapr: clock should count only if vm is running

2017-01-27 Thread Laurent Vivier
On 27/01/2017 09:52, Paolo Bonzini wrote: > >> This is a port to ppc of the i386 commit: >> 00f4d64 kvmclock: clock should count only if vm is running >> >> We remove timebase_/pre_save/post_load/ functions, >> and use the VM state change handler to save and restore >> the guest_timebase (on s

Re: [Qemu-devel] [PATCH] spapr: clock should count only if vm is running

2017-01-27 Thread Paolo Bonzini
> This is a port to ppc of the i386 commit: > 00f4d64 kvmclock: clock should count only if vm is running > > We remove timebase_/pre_save/post_load/ functions, > and use the VM state change handler to save and restore > the guest_timebase (on stop and continue). > > Time base offset has orig

[Qemu-devel] [PATCH] spapr: clock should count only if vm is running

2017-01-26 Thread Laurent Vivier
This is a port to ppc of the i386 commit: 00f4d64 kvmclock: clock should count only if vm is running We remove timebase_/pre_save/post_load/ functions, and use the VM state change handler to save and restore the guest_timebase (on stop and continue). Time base offset has originally been intro