summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-04-12 13:36:52 +0300
committerAvi Kivity <avi@redhat.com>2009-06-10 11:48:41 +0300
commite637b8238ad1783ebdd113bd34cd6982dec1006d (patch)
treef5a8917bfb7ccbb03eb0b6055c8f807c405c8dc8 /arch/x86/kvm
parent84ce66a6865192567172f08ab5269aa380fa6ead (diff)
downloadblackbird-obmc-linux-e637b8238ad1783ebdd113bd34cd6982dec1006d.tar.gz
blackbird-obmc-linux-e637b8238ad1783ebdd113bd34cd6982dec1006d.zip
KVM: x86 emulator: Decode soft interrupt instructions
Do not emulate them yet. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/x86_emulate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index c2f55ca84fdf..d2664fcba7fa 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ b/arch/x86/kvm/x86_emulate.c
@@ -181,7 +181,8 @@ static u32 opcode_table[256] = {
0, ImplicitOps | Stack, 0, 0,
ByteOp | DstMem | SrcImm | ModRM | Mov, DstMem | SrcImm | ModRM | Mov,
/* 0xC8 - 0xCF */
- 0, 0, 0, ImplicitOps | Stack, 0, 0, 0, 0,
+ 0, 0, 0, ImplicitOps | Stack,
+ ImplicitOps, SrcImmByte, ImplicitOps, ImplicitOps,
/* 0xD0 - 0xD7 */
ByteOp | DstMem | SrcImplicit | ModRM, DstMem | SrcImplicit | ModRM,
ByteOp | DstMem | SrcImplicit | ModRM, DstMem | SrcImplicit | ModRM,
OpenPOWER on IntegriCloud