提交 c483c02a 编写于 作者: W Wei Yongjun 提交者: Avi Kivity

KVM: x86 emulator: remove useless label from x86_emulate_insn()

Signed-off-by: NWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 ee45b58e
......@@ -2787,16 +2787,12 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt)
c->eip = ctxt->eip;
}
if (c->src.type == OP_MEM) {
if (c->d & NoAccess)
goto no_fetch;
if ((c->src.type == OP_MEM) && !(c->d & NoAccess)) {
rc = read_emulated(ctxt, ops, c->src.addr.mem,
c->src.valptr, c->src.bytes);
if (rc != X86EMUL_CONTINUE)
goto done;
c->src.orig_val64 = c->src.val64;
no_fetch:
;
}
if (c->src2.type == OP_MEM) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册