linux-hardened/drivers/kvm
Avi Kivity 7700270ee3 KVM: VMX: Ensure vcpu time stamp counter is monotonous
If the time stamp counter goes backwards, a guest delay loop can become
infinite.  This can happen if a vcpu is migrated to another cpu, where
the counter has a lower value than the first cpu.

Since we're doing an IPI to the first cpu anyway, we can use that to pick
up the old tsc, and use that to calculate the adjustment we need to make
to the tsc offset.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2007-07-16 12:05:47 +03:00
..
Kconfig KVM: MMU: Make setting shadow ptes atomic on i386 2007-07-16 12:05:44 +03:00
kvm.h KVM: Flush remote tlbs when reducing shadow pte permissions 2007-07-16 12:05:46 +03:00
kvm_main.c KVM: Flush remote tlbs when reducing shadow pte permissions 2007-07-16 12:05:46 +03:00
kvm_svm.h KVM: SVM: Only save/restore MSRs when needed 2007-05-03 10:52:32 +03:00
Makefile [PATCH] kvm: userspace interface 2006-12-10 09:57:22 -08:00
mmu.c KVM: Flush remote tlbs when reducing shadow pte permissions 2007-07-16 12:05:46 +03:00
paging_tmpl.h KVM: MMU: Remove unused large page marker 2007-07-16 12:05:45 +03:00
segment_descriptor.h [PATCH] kvm: userspace interface 2006-12-10 09:57:22 -08:00
svm.c KVM: Initialize the BSP bit in the APIC_BASE msr correctly 2007-07-16 12:05:47 +03:00
svm.h KVM: SVM: forbid guest to execute monitor/mwait 2007-05-03 10:52:26 +03:00
vmx.c KVM: VMX: Ensure vcpu time stamp counter is monotonous 2007-07-16 12:05:47 +03:00
vmx.h [PATCH] kvm: vmx: handle triple faults by returning EXIT_REASON_SHUTDOWN to userspace 2007-02-12 09:48:40 -08:00
x86_emulate.c KVM: Emulate hlt on real mode for Intel 2007-07-16 12:05:46 +03:00
x86_emulate.h KVM: Allow passing 64-bit values to the emulated read/write API 2007-05-03 10:52:31 +03:00