KVM: Move apic timer migration away from critical section
authorAvi Kivity <avi@qumranet.com>
Wed, 16 Jan 2008 10:49:30 +0000 (12:49 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 16:01:22 +0000 (18:01 +0200)
commit2f52d58c92d971bf421f461ad06eb93fb4f34981
tree59e4bf7960686689606be7136f28ebfe32e7fb2d
parenta03d7f4b544f699bbdd3cf14692bd8f476cb9d24
KVM: Move apic timer migration away from critical section

Migrating the apic timer in the critical section is not very nice, and is
absolutely horrible with the real-time port.  Move migration to the regular
vcpu execution path, triggered by a new bitflag.

Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/irq.h
arch/x86/kvm/lapic.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h