aboutsummaryrefslogtreecommitdiff
path: root/io/channel-socket.c
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.ibm.com>2019-11-27 12:50:45 -0500
committerCornelia Huck <cohuck@redhat.com>2019-12-14 10:25:50 +0100
commit0b7fd817e0f383760e37ca9286150d5816cf0594 (patch)
tree377e39a78019267dd820e300cce7f00c569f659d /io/channel-socket.c
parenteb8adcc3e9e3b8405c104ede72cf9f3bb2a5e226 (diff)
downloadqemu-0b7fd817e0f383760e37ca9286150d5816cf0594.zip
qemu-0b7fd817e0f383760e37ca9286150d5816cf0594.tar.gz
qemu-0b7fd817e0f383760e37ca9286150d5816cf0594.tar.bz2
s390x: Beautify diag308 handling
Let's improve readability by: * Using constants for the subcodes * Moving parameter checking into a function * Removing subcode > 6 check as the default case catches that Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Message-Id: <20191127175046.4911-6-frankja@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'io/channel-socket.c')
0 files changed, 0 insertions, 0 deletions