diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-04 15:12:35 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 12:00:58 +0300 |
commit | 7e8e6ab48d78147f69c1ba2d6a362f8d33254468 (patch) | |
tree | 760391ea70e033a7b2551663430da3f737e3db59 /arch | |
parent | bed1d1dfc4a458d82bcd258082638cbba860190d (diff) | |
download | linux-3.10-7e8e6ab48d78147f69c1ba2d6a362f8d33254468.tar.gz linux-3.10-7e8e6ab48d78147f69c1ba2d6a362f8d33254468.tar.bz2 linux-3.10-7e8e6ab48d78147f69c1ba2d6a362f8d33254468.zip |
KVM: s390: Fix incorrect return value
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index d3b1de83678..d9661376597 100644 --- 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, |