Re: [PATCH] kvm: x86: Fix kvm clock versioning.

2014-11-06 Thread Paolo Bonzini
On 04/11/2014 01:57, Owen Hofmann wrote: kvm updates the version number for the guest paravirt clock structure by incrementing the version of its private copy. It does not read the guest version, so will write version = 2 in the first update for every new VM, including after restoring a

Re: [PATCH] kvm: x86: Fix kvm clock versioning.

2014-11-04 Thread Marcelo Tosatti
On Mon, Nov 03, 2014 at 04:57:18PM -0800, Owen Hofmann wrote: kvm updates the version number for the guest paravirt clock structure by incrementing the version of its private copy. It does not read the guest version, so will write version = 2 in the first update for every new VM, including

[PATCH] kvm: x86: Fix kvm clock versioning.

2014-11-03 Thread Owen Hofmann
kvm updates the version number for the guest paravirt clock structure by incrementing the version of its private copy. It does not read the guest version, so will write version = 2 in the first update for every new VM, including after restoring a saved state. If guest state is saved during reading