linux/arch/x86/kvm
Joerg Roedel 953899b659 KVM: SVM: Adjust tsc_offset only if tsc_unstable
The tsc_offset adjustment in svm_vcpu_load is executed
unconditionally even if Linux considers the host tsc as
stable. This causes a Linux guest detecting an unstable tsc
in any case.
This patch removes the tsc_offset adjustment if the host tsc
is stable. The guest will now get the benefit of a stable
tsc too.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2010-03-01 12:35:41 -03:00
..
emulate.c KVM: x86 emulator: limit instructions to 15 bytes 2009-12-03 09:32:25 +02:00
i8254.c KVM: PIT: control word is write-only 2010-02-09 19:20:15 +02:00
i8254.h KVM: PIT support for HPET legacy mode 2009-09-10 08:33:12 +03:00
i8259.c KVM: Move IO APIC to its own lock 2009-12-03 09:32:08 +02:00
irq.c KVM: Remove irq_pending bitmap 2009-06-10 11:48:57 +03:00
irq.h KVM: x86: disallow multiple KVM_CREATE_IRQCHIP 2009-12-03 09:32:23 +02:00
Kconfig KVM: x86 shared msr infrastructure 2009-12-03 09:32:21 +02:00
kvm_cache_regs.h KVM: Add accessor for reading cr4 (or some bits of cr4) 2010-03-01 12:35:39 -03:00
kvm_timer.h KVM: Use pointer to vcpu instead of vcpu_id in timer code. 2009-09-10 08:32:52 +03:00
lapic.c KVM: Fix race between APIC TMR and IRR 2010-01-25 12:26:36 -02:00
lapic.h KVM: x2apic interface to lapic 2009-09-10 08:33:08 +03:00
Makefile KVM: Move assigned device code to own file 2009-12-03 09:32:09 +02:00
mmu.c KVM: MMU: Report spte not found in rmap before BUG() 2010-03-01 12:35:39 -03:00
mmu.h KVM: Add accessor for reading cr4 (or some bits of cr4) 2010-03-01 12:35:39 -03:00
mmutrace.h KVM: Trace shadow page lifecycle 2009-09-10 08:33:10 +03:00
paging_tmpl.h KVM: MMU: bail out pagewalk on kvm_read_guest error 2010-01-25 12:26:38 -02:00
svm.c KVM: SVM: Adjust tsc_offset only if tsc_unstable 2010-03-01 12:35:41 -03:00
timer.c KVM: Drop useless atomic test from timer function 2009-09-10 08:32:57 +03:00
trace.h KVM: SVM: Add tracepoint for skinit instruction 2009-12-03 09:32:16 +02:00
tss.h KVM: x86: hardware task switching support 2008-04-27 12:00:39 +03:00
vmx.c KVM: VMX: Add instruction rdtscp support for guest 2010-03-01 12:35:40 -03:00
x86.c KVM: VMX: Add instruction rdtscp support for guest 2010-03-01 12:35:40 -03:00
x86.h KVM: Add Directed EOI support to APIC emulation 2009-09-10 08:33:07 +03:00