kernel-ark/arch/x86/kvm
Roedel, Joerg b69e8caef5 KVM: x86: Inject #GP with the right rip on efer writes
This patch fixes a bug in the KVM efer-msr write path. If a
guest writes to a reserved efer bit the set_efer function
injects the #GP directly. The architecture dependent wrmsr
function does not see this, assumes success and advances the
rip. This results in a #GP in the guest with the wrong rip.
This patch fixes this by reporting efer write errors back to
the architectural wrmsr function.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2010-05-19 11:36:39 +03:00
..
emulate.c KVM: fix emulator_task_switch() return value. 2010-05-17 12:17:49 +03:00
i8254.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
i8254.h KVM: Convert i8254/i8259 locks to raw_spinlocks 2010-03-01 12:36:12 -03:00
i8259.c KVM: x86: Kick VCPU outside PIC lock again 2010-04-25 12:39:28 +03:00
irq.c
irq.h KVM: x86: Kick VCPU outside PIC lock again 2010-04-25 12:39:28 +03:00
Kconfig Merge branch 'kvm-updates/2.6.34' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2010-03-05 13:12:34 -08:00
kvm_cache_regs.h KVM: Optimize kvm_read_cr[04]_bits() 2010-03-01 12:36:05 -03:00
kvm_timer.h KVM: arch/x86/kvm/kvm_timer.h checkpatch cleanup 2010-05-17 12:14:42 +03:00
lapic.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
lapic.h KVM: Add HYPER-V apic access MSRs 2010-03-01 12:36:00 -03:00
Makefile
mmu.c KVM: MMU: Don't read pdptrs with mmu spinlock held in mmu_alloc_roots 2010-05-19 11:36:35 +03:00
mmu.h KVM: x86 emulator: fix memory access during x86 emulation 2010-03-01 12:36:11 -03:00
mmutrace.h KVM: MMU: convert mmu tracepoints 2010-05-19 11:36:26 +03:00
paging_tmpl.h KVM: MMU: cleanup invlpg code 2010-05-19 11:36:28 +03:00
svm.c KVM: SVM: Don't allow nested guest to VMMCALL into host 2010-05-19 11:36:38 +03:00
timer.c KVM: x86: document KVM_REQ_PENDING_TIMER usage 2010-05-17 12:16:40 +03:00
trace.h KVM: Trace emulated instructions 2010-05-17 12:17:35 +03:00
tss.h
vmx.c KVM: VMX: enable VMXON check with SMX enabled (Intel TXT) 2010-05-19 11:36:34 +03:00
x86.c KVM: x86: Inject #GP with the right rip on efer writes 2010-05-19 11:36:39 +03:00
x86.h KVM: use the correct RCU API for PROVE_RCU=y 2010-05-17 12:18:01 +03:00