KVM: lapic: reorganize start_hv_timer
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Jun 2017 15:14:50 +0000 (17:14 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Jun 2017 16:10:35 +0000 (18:10 +0200)
commit35ee9e48b9df6c7751e8f759a4deec5aed1463c3
tree10ffc14864ccce597d51e84b9b75aee3c1e9a26a
parent3195a35b41cc245c12a5e144186faea3691ed516
KVM: lapic: reorganize start_hv_timer

There are many cases in which the hv timer must be canceled.  Split out
a new function to avoid duplication.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c