Commit 4947e7cd authored by Gleb Natapov's avatar Gleb Natapov Committed by Avi Kivity

KVM: emulator: Propagate fault in far jump emulation

Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment