projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7d810
)
KVM: emulator: Propagate fault in far jump emulation
author
Gleb Natapov
<gleb@redhat.com>
Tue, 12 Apr 2011 09:36:23 +0000
(12:36 +0300)
committer
Avi Kivity
<avi@redhat.com>
Sun, 22 May 2011 12:39:51 +0000
(08:39 -0400)
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/emulate.c
b/arch/x86/kvm/emulate.c
index 7466abae84bf513d2879aa9c5a74f0e128141a83..3624f202b440aaf1251d5a6c29684c2a56bbca00 100644
(file)
--- a/
arch/x86/kvm/emulate.c
+++ b/
arch/x86/kvm/emulate.c
@@
-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;