mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-08 07:35:04 +00:00
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>
This commit is contained in:
parent
2dea4c84bc
commit
a90ede7b17
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
#include <linux/highmem.h>
|
#include <linux/highmem.h>
|
||||||
#include <linux/hardirq.h>
|
#include <linux/hardirq.h>
|
||||||
|
#include <asm/timer.h>
|
||||||
|
|
||||||
#define MMU_QUEUE_SIZE 1024
|
#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.enter = kvm_enter_lazy_mmu;
|
||||||
pv_mmu_ops.lazy_mode.leave = kvm_leave_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)
|
void __init kvm_guest_init(void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue