diff mbox

add missing guest clock update removed by e48672fa25e879f7ae21785c7efd187738139593

Message ID 20110307101827.GA1762@pcnci.linuxbox.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Nikola Ciprich March 7, 2011, 10:18 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index bcc0efc..4c27144 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -2091,6 +2091,7 @@  void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
 	}
 
 	kvm_x86_ops->vcpu_load(vcpu, cpu);
+	kvm_make_request(KVM_REQ_CLOCK_UPDATE, vcpu);
 	if (unlikely(vcpu->cpu != cpu) || check_tsc_unstable()) {
 		/* Make sure TSC doesn't go backwards */
 		s64 tsc_delta = !vcpu->arch.last_host_tsc ? 0 :