From: Marcelo Tosatti Date: Thu, 12 Feb 2009 00:45:42 +0000 (-0200) Subject: KVM: x86: paravirt skip pit-through-ioapic boot check X-Git-Tag: v2.6.31-rc1~393^2~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a90ede7b17d122acd58e6e1ff911be9dcf5263cc;p=profile%2Fivi%2Fkernel-x86-ivi.git KVM: x86: paravirt skip pit-through-ioapic boot check Skip the test which checks if the PIT is properly routed when using the IOAPIC, aimed at buggy hardware. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 33019dd..057173d 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -27,6 +27,7 @@ #include #include #include +#include #define MMU_QUEUE_SIZE 1024 @@ -230,6 +231,9 @@ static void paravirt_ops_setup(void) pv_mmu_ops.lazy_mode.enter = kvm_enter_lazy_mmu; pv_mmu_ops.lazy_mode.leave = kvm_leave_lazy_mmu; } +#ifdef CONFIG_X86_IO_APIC + no_timer_check = 1; +#endif } void __init kvm_guest_init(void)