projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed1d1d
)
KVM: s390: Fix incorrect return value
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Fri, 4 Apr 2008 13:12:35 +0000
(15:12 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Sun, 27 Apr 2008 09:00:58 +0000
(12:00 +0300)
kvm_arch_vcpu_ioctl_run currently incorrectly always returns 0.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/s390/kvm/kvm-s390.c
patch
|
blob
|
history
diff --git
a/arch/s390/kvm/kvm-s390.c
b/arch/s390/kvm/kvm-s390.c
index d3b1de83678b4ad4aa8c3b7be67a6ec4cd90b168..d96613765973560a22745875ecdfad8d096aefb0 100644
(file)
--- a/
arch/s390/kvm/kvm-s390.c
+++ b/
arch/s390/kvm/kvm-s390.c
@@
-497,7
+497,7
@@
int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
vcpu_put(vcpu);
vcpu->stat.exit_userspace++;
- return
0
;
+ return
rc
;
}
static int __guestcopy(struct kvm_vcpu *vcpu, u64 guestdest, const void *from,