kvm: x86: Remove kvm_make_request from lapic.c
[deliverable/linux.git] / arch / x86 / kvm / x86.c
index 559e3fd6c8970e961157771df0f867b3ad9b727e..49ecda7ca9581349fb1cdc8c7962632f61b14e15 100644 (file)
@@ -1087,6 +1087,15 @@ static void update_pvclock_gtod(struct timekeeper *tk)
 }
 #endif
 
+void kvm_set_pending_timer(struct kvm_vcpu *vcpu)
+{
+       /*
+        * Note: KVM_REQ_PENDING_TIMER is implicitly checked in
+        * vcpu_enter_guest.  This function is only called from
+        * the physical CPU that is running vcpu.
+        */
+       kvm_make_request(KVM_REQ_PENDING_TIMER, vcpu);
+}
 
 static void kvm_write_wall_clock(struct kvm *kvm, gpa_t wall_clock)
 {
This page took 0.039206 seconds and 5 git commands to generate.