diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2009-02-11 22:45:42 -0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 11:48:24 +0300 |
commit | a90ede7b17d122acd58e6e1ff911be9dcf5263cc (patch) | |
tree | 8ef42e778c1919a0eaa4e833abbe49bca9bb2c09 /arch/x86 | |
parent | 2dea4c84bc936731668b5a7a9fba5b436a422668 (diff) | |
download | op-kernel-dev-a90ede7b17d122acd58e6e1ff911be9dcf5263cc.zip op-kernel-dev-a90ede7b17d122acd58e6e1ff911be9dcf5263cc.tar.gz |
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 <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/kvm.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <linux/mm.h> #include <linux/highmem.h> #include <linux/hardirq.h> +#include <asm/timer.h> #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) |