KVM: x86 emulator: add CALL FAR instruction emulation (opcode 9a)
authorWei Yongjun <yjwei@cn.fujitsu.com>
Wed, 25 Aug 2010 06:10:53 +0000 (14:10 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:31 +0000 (10:51 +0200)
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c

index 312e798d5425b98c233ef009361505e25ed7df30..1702ea8a28c61ba20bbeafbf234c1c7abe42ceb4 100644 (file)
@@ -2455,7 +2455,7 @@ static struct opcode opcode_table[256] = {
        X8(D(SrcAcc | DstReg)),
        /* 0x98 - 0x9F */
        D(DstAcc | SrcNone), I(ImplicitOps | SrcAcc, em_cwd),
-       D(SrcImmFAddr | No64), N,
+       I(SrcImmFAddr | No64, em_call_far), N,
        D(ImplicitOps | Stack), D(ImplicitOps | Stack), N, N,
        /* 0xA0 - 0xA7 */
        D(ByteOp | DstAcc | SrcMem | Mov | MemAbs), D(DstAcc | SrcMem | Mov | MemAbs),