]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: do not try to reexecute failed instruction while emulating invalid guest...
authorGleb Natapov <gleb@redhat.com>
Thu, 11 Apr 2013 09:10:51 +0000 (12:10 +0300)
committerGleb Natapov <gleb@redhat.com>
Sun, 14 Apr 2013 06:44:17 +0000 (09:44 +0300)
commitf5e928a482f9662a043d8b1e74929be220fea337
tree3dc9145262807fb4ed5b6450a6ef8c88c680eccb
parent8f1af7ffc8934cfd852bab65e6d7319fc7818488
KVM: VMX: do not try to reexecute failed instruction while emulating invalid guest state

During invalid guest state emulation vcpu cannot enter guest mode to try
to reexecute instruction that emulator failed to emulate, so emulation
will happen again and again.  Prevent that by telling the emulator that
instruction reexecution should not be attempted.

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