KVM: LAPIC: Don't need to wakeup vCPU twice afer timer fire
authorWanpeng Li <wanpengli@tencent.com>
Thu, 1 Aug 2019 03:30:13 +0000 (11:30 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Aug 2019 10:55:45 +0000 (12:55 +0200)
commita48d06f9b7cedbb8ad7804d1720168b7ee6a34e7
tree6922286f3f80af87baca222e0f3736c486c1dc9a
parent266e85a5ec9100dcd9ae03601453bbc96fefee5d
KVM: LAPIC: Don't need to wakeup vCPU twice afer timer fire

kvm_set_pending_timer() will take care to wake up the sleeping vCPU which
has pending timer, don't need to check this in apic_timer_expired() again.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c