public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM: x86: paravirt skip pit-through-ioapic boot check
@ 2009-02-12  0:45 Marcelo Tosatti
  2009-02-26  9:58 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Marcelo Tosatti @ 2009-02-12  0:45 UTC (permalink / raw)
  To: kvm-devel; +Cc: Glauber de Oliveira Costa


Skip the test which checks if the PIT is properly routed when
using the IOAPIC, aimed at buggy hardware.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

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 <linux/mm.h>
 #include <linux/highmem.h>
 #include <linux/hardirq.h>
+#include <asm/timer.h>
 
 #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)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: KVM: x86: paravirt skip pit-through-ioapic boot check
  2009-02-12  0:45 KVM: x86: paravirt skip pit-through-ioapic boot check Marcelo Tosatti
@ 2009-02-26  9:58 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-02-26  9:58 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: kvm-devel, Glauber de Oliveira Costa

Marcelo Tosatti wrote:
> Skip the test which checks if the PIT is properly routed when
> using the IOAPIC, aimed at buggy hardware.
>
>   

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-26  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-12  0:45 KVM: x86: paravirt skip pit-through-ioapic boot check Marcelo Tosatti
2009-02-26  9:58 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox