diff options
author | Janosch Frank <frankja@linux.ibm.com> | 2019-11-29 04:17:13 -0500 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-12-14 10:25:50 +0100 |
commit | 15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6 (patch) | |
tree | 409fef481ee5279b34dd9536353a750b51433b17 /hw/intc | |
parent | 0b7fd817e0f383760e37ca9286150d5816cf0594 (diff) | |
download | qemu-15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6.zip qemu-15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6.tar.gz qemu-15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6.tar.bz2 |
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 'hw/intc')
0 files changed, 0 insertions, 0 deletions