KVM: Do not re-execute INTn instruction.
authorGleb Natapov <gleb@redhat.com>
Mon, 11 May 2009 10:35:50 +0000 (13:35 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:58 +0000 (11:48 +0300)
commit66fd3f7f901f29a557a473af595bf11b270b9ac2
tree6adc1e94de39238a357980068f599070428767d8
parentf629cf8485c9e1063fd8b915fa3bde80917400a1
KVM: Do not re-execute INTn instruction.

Re-inject event instead. This is what Intel suggest. Also use correct
instruction length when re-injecting soft fault/interrupt.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h