diff options
author | Janosch Frank | 2019-11-29 10:17:13 +0100 |
---|---|---|
committer | Cornelia Huck | 2019-12-14 10:25:50 +0100 |
commit | 15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6 (patch) | |
tree | 409fef481ee5279b34dd9536353a750b51433b17 /target/s390x/cpu.h | |
parent | s390x: Beautify diag308 handling (diff) | |
download | qemu-15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6.tar.gz qemu-15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6.tar.xz qemu-15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6.zip |
s390x: kvm: Make kvm_sclp_service_call void
It defaults to returning 0 anyway and that return value is not
necessary, as 0 is also the default rc that the caller would return.
While doing that we can simplify the logic a bit and return early if
we inject a PGM exception.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20191129091713.4582-1-frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/cpu.h')
0 files changed, 0 insertions, 0 deletions