kvm: lapic: separate start_sw_tscdeadline from start_apic_timer
authorYunhong Jiang <yunhong.jiang@gmail.com>
Mon, 13 Jun 2016 21:20:00 +0000 (14:20 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Jun 2016 08:07:46 +0000 (10:07 +0200)
commit53f9eedff713bab262b64682ad1abb1e8116d041
tree8c30b9ff56470304f867af0615aec25afe2f99fa
parenta03825bbd0c39feeba605912cdbc28e79e4e01e1
kvm: lapic: separate start_sw_tscdeadline from start_apic_timer

The function to start the tsc deadline timer virtualization will be used
also by the pre_block hook when we use the preemption timer; change it
to a separate function. No logic changes.

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