From: Marcelo Tosatti Subject: KVM: x86: paravirt skip pit-through-ioapic boot check Date: Wed, 11 Feb 2009 22:45:42 -0200 Message-ID: <20090212004542.GB15960@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Glauber de Oliveira Costa To: kvm-devel Return-path: Received: from mx2.redhat.com ([66.187.237.31]:36253 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754867AbZBLAqQ (ORCPT ); Wed, 11 Feb 2009 19:46:16 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n1C0kGBg016917 for ; Wed, 11 Feb 2009 19:46:16 -0500 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Skip the test which checks if the PIT is properly routed when using the IOAPIC, aimed at buggy hardware. Signed-off-by: Marcelo Tosatti diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 478bca9..eecfc92 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 @@ -237,6 +238,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)