KVM: x86 emulator: Add new mode of instruction emulation: skip
authorGleb Natapov <gleb@redhat.com>
Sun, 12 Apr 2009 10:36:57 +0000 (13:36 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:42 +0000 (11:48 +0300)
commitba8afb6b0a2c7e06da760ffe5d078245058619b5
treecfa06923a20919ad95e1202cfaab78d80b85998f
parente637b8238ad1783ebdd113bd34cd6982dec1006d
KVM: x86 emulator: Add new mode of instruction emulation: skip

In the new mode instruction is decoded, but not executed. The EIP
is moved to point after the instruction.

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/x86.c