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

2014-11-03 Thread Owen Hofmann
the clock, it could read and accept struct fields and guest TSC from two different updates. This changes the code to increment the guest version and write it back. Signed-off-by: Owen Hofmann --- arch/x86/kvm/x86.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a

Re: KVM: x86: zero kvmclock_offset when vcpu0 initializes kvmclock system MSR

2015-05-22 Thread Owen Hofmann
Change as described sounds good, however: > @@ -2188,6 +2188,8 @@ int kvm_set_msr_common(struct kvm_vcpu *vcpu, > struct msr_data *msr_info) > &vcpu->requests); > > ka->boot_vcpu_runs_old_kvmclock = tmp; > + > +