summaryrefslogtreecommitdiffstats
path: root/target/s390x/cpu.h
diff options
context:
space:
mode:
authorJanosch Frank2019-11-29 10:17:13 +0100
committerCornelia Huck2019-12-14 10:25:50 +0100
commit15b6c0370c3e2774fd9ffda5c10c6e36952e8eb6 (patch)
tree409fef481ee5279b34dd9536353a750b51433b17 /target/s390x/cpu.h
parents390x: Beautify diag308 handling (diff)
downloadqemu-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