aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/emulate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c
index b89a20ec7c9d..09c9210db75d 100644
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -2311,7 +2311,7 @@ static struct opcode opcode_table[256] = {
2311 D(DstAcc | SrcImmByte | ByteOp), D(DstAcc | SrcImm), 2311 D(DstAcc | SrcImmByte | ByteOp), D(DstAcc | SrcImm),
2312 D(ByteOp | SrcAcc | DstDI | Mov | String), D(SrcAcc | DstDI | Mov | String), 2312 D(ByteOp | SrcAcc | DstDI | Mov | String), D(SrcAcc | DstDI | Mov | String),
2313 D(ByteOp | SrcSI | DstAcc | Mov | String), D(SrcSI | DstAcc | Mov | String), 2313 D(ByteOp | SrcSI | DstAcc | Mov | String), D(SrcSI | DstAcc | Mov | String),
2314 D(ByteOp | DstDI | String), D(DstDI | String), 2314 D(ByteOp | SrcAcc | DstDI | String), D(SrcAcc | DstDI | String),
2315 /* 0xB0 - 0xB7 */ 2315 /* 0xB0 - 0xB7 */
2316 X8(D(ByteOp | DstReg | SrcImm | Mov)), 2316 X8(D(ByteOp | DstReg | SrcImm | Mov)),
2317 /* 0xB8 - 0xBF */ 2317 /* 0xB8 - 0xBF */
@@ -3046,8 +3046,7 @@ special_insn:
3046 case 0xac ... 0xad: /* lods */ 3046 case 0xac ... 0xad: /* lods */
3047 goto mov; 3047 goto mov;
3048 case 0xae ... 0xaf: /* scas */ 3048 case 0xae ... 0xaf: /* scas */
3049 DPRINTF("Urk! I don't handle SCAS.\n"); 3049 goto cmp;
3050 goto cannot_emulate;
3051 case 0xb0 ... 0xbf: /* mov r, imm */ 3050 case 0xb0 ... 0xbf: /* mov r, imm */
3052 goto mov; 3051 goto mov;
3053 case 0xc0 ... 0xc1: 3052 case 0xc0 ... 0xc1: