KVM: x86: em_call_far should return failure result
authorNadav Amit <namit@cs.technion.ac.il>
Thu, 25 Dec 2014 00:52:20 +0000 (02:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Jan 2015 21:48:06 +0000 (22:48 +0100)
commit80976dbb5cb2b64480d7d38981b3220887575728
tree278131773741b6a5ef05aa5ec4fb2077622d9728
parent3dc4bc4f6b9265bd05dda007b07eac5a17da0562
KVM: x86: em_call_far should return failure result

Currently, if em_call_far fails it returns success instead of the resulting
error-code. Fix it.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c