]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: lapic: reorganize restart_apic_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:18:52 +0000 (18:18 +0200)
commitb8422dc2ab353916234c48ed437190d5cb81e894
tree179c24b74a8021d3c8e229200984d35f36c6f96e
parent4e4cb1ca7e565e5fe6675bb9435deeb876712964
KVM: lapic: reorganize restart_apic_timer

Move the code to cancel the hv timer into the caller, just before
it starts the hrtimer.  Check availability of the hv timer in
start_hv_timer.

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