linux-stable/drivers/kvm
Avi Kivity 0967b7bf1c KVM: Skip pio instruction when it is emulated, not executed
If we defer updating rip until pio instructions are executed, we have a
problem with reset:  a pio reset updates rip, and when the instruction
completes we skip the emulated instruction, pointing rip somewhere completely
unrelated.

Fix by updating rip when we see decode the instruction, not after emulation.

Signed-off-by: Avi Kivity <avi@qumranet.com>
2007-10-13 10:18:29 +02:00
..
i8259.c KVM: Add get/set irqchip ioctls for in-kernel PIC live migration support 2007-10-13 10:18:25 +02:00
ioapic.c KVM: In-kernel I/O APIC model 2007-10-13 10:18:25 +02:00
irq.c KVM: deliver PIC interrupt only to vcpu0 2007-10-13 10:18:26 +02:00
irq.h KVM: enable in-kernel APIC INIT/SIPI handling 2007-10-13 10:18:26 +02:00
Kconfig KVM: Use the scheduler preemption notifiers to make kvm preemptible 2007-10-13 10:18:20 +02:00
kvm.h KVM: Improve emulation failure reporting 2007-10-13 10:18:28 +02:00
kvm_main.c KVM: Skip pio instruction when it is emulated, not executed 2007-10-13 10:18:29 +02:00
kvm_svm.h KVM: Dynamically allocate vcpus 2007-10-13 10:18:20 +02:00
lapic.c KVM: enable in-kernel APIC INIT/SIPI handling 2007-10-13 10:18:26 +02:00
Makefile KVM: In-kernel I/O APIC model 2007-10-13 10:18:25 +02:00
mmu.c KVM: MMU: Don't do GFP_NOWAIT allocations 2007-10-13 10:18:27 +02:00
paging_tmpl.h KVM: Rename kvm_arch_ops to kvm_x86_ops 2007-10-13 10:18:27 +02:00
segment_descriptor.h
svm.c KVM: Improve emulation failure reporting 2007-10-13 10:18:28 +02:00
svm.h KVM: SVM: Reliably detect if SVM was disabled by BIOS 2007-07-16 12:05:49 +03:00
vmx.c KVM: Improve emulation failure reporting 2007-10-13 10:18:28 +02:00
vmx.h KVM: VMX: Use shadow TPR/cr8 for 64-bits guests 2007-10-13 10:18:26 +02:00
x86_emulate.c KVM: x86 emulator: popf 2007-10-13 10:18:29 +02:00
x86_emulate.h KVM: Change the emulator_{read,write,cmpxchg}_* functions to take a vcpu 2007-10-13 10:18:21 +02:00