mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
KVM: emulator: Propagate fault in far jump emulation
Signed-off-by: Gleb Natapov <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
This commit is contained in:
@@ -3993,7 +3993,8 @@ special_insn:
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user