Commit 7e8e6ab4 authored by Heiko Carstens's avatar Heiko Carstens Committed by Avi Kivity

KVM: s390: Fix incorrect return value

kvm_arch_vcpu_ioctl_run currently incorrectly always returns 0.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarCarsten Otte <cotte@de.ibm.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent bed1d1df
...@@ -497,7 +497,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) ...@@ -497,7 +497,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
vcpu_put(vcpu); vcpu_put(vcpu);
vcpu->stat.exit_userspace++; vcpu->stat.exit_userspace++;
return 0; return rc;
} }
static int __guestcopy(struct kvm_vcpu *vcpu, u64 guestdest, const void *from, static int __guestcopy(struct kvm_vcpu *vcpu, u64 guestdest, const void *from,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment