From 9db252f71b1bb30080140efbd90c39f78b12dd28 Mon Sep 17 00:00:00 2001 From: Guillaume Thouvenin Date: Tue, 27 May 2008 10:22:20 +0200 Subject: [PATCH] --- yaml --- r: 103714 b: refs/heads/master c: 89c696383d6eb493351a89d450d8ad7a55cbe1da h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/kvm/x86_emulate.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 78d46ef0848e..73aa011c2f5f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3e6e0aab1ba1e8b354ce01f5659336f9aee69437 +refs/heads/master: 89c696383d6eb493351a89d450d8ad7a55cbe1da diff --git a/trunk/arch/x86/kvm/x86_emulate.c b/trunk/arch/x86/kvm/x86_emulate.c index 932f216d890c..a928aa6cdad2 100644 --- a/trunk/arch/x86/kvm/x86_emulate.c +++ b/trunk/arch/x86/kvm/x86_emulate.c @@ -1049,6 +1049,7 @@ x86_decode_insn(struct x86_emulate_ctxt *ctxt, struct x86_emulate_ops *ops) break; case DstMem: if ((c->d & ModRM) && c->modrm_mod == 3) { + c->dst.bytes = (c->d & ByteOp) ? 1 : c->op_bytes; c->dst.type = OP_REG; c->dst.val = c->dst.orig_val = c->modrm_val; c->dst.ptr = c->modrm_ptr;