KVM: return if kvm_vcpu_wake_up() did wake up the VCPU
authorRadim Krčmář <rkrcmar@redhat.com>
Wed, 26 Apr 2017 20:32:26 +0000 (22:32 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Apr 2017 12:18:45 +0000 (14:18 +0200)
commit178f02ffafafc59d4d4b135242e5cc1515743680
tree4e1addc5b8d3fffd2d14868c72c038d44488ea17
parentcde9af6e79046e12cd08d161139b1d5e57e9fbac
KVM: return if kvm_vcpu_wake_up() did wake up the VCPU

No need to kick a VCPU that we have just woken up.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c