提交 4947e7cd 编写于 作者: G Gleb Natapov 提交者: Avi Kivity

KVM: emulator: Propagate fault in far jump emulation

Signed-off-by: NGleb Natapov <gleb@redhat.com>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 8d7d8102
......@@ -3993,7 +3993,8 @@ x86_emulate_insn(struct x86_emulate_ctxt *ctxt)
jump_far:
memcpy(&sel, c->src.valptr + c->op_bytes, 2);
if (load_segment_descriptor(ctxt, ops, sel, VCPU_SREG_CS))
rc = load_segment_descriptor(ctxt, ops, sel, VCPU_SREG_CS);
if (rc != X86EMUL_CONTINUE)
goto done;
c->eip = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册