diff options
author | Janosch Frank | 2019-11-27 18:50:45 +0100 |
---|---|---|
committer | Cornelia Huck | 2019-12-14 10:25:50 +0100 |
commit | 0b7fd817e0f383760e37ca9286150d5816cf0594 (patch) | |
tree | 377e39a78019267dd820e300cce7f00c569f659d /util | |
parent | s390x: Move clear reset (diff) | |
download | qemu-0b7fd817e0f383760e37ca9286150d5816cf0594.tar.gz qemu-0b7fd817e0f383760e37ca9286150d5816cf0594.tar.xz qemu-0b7fd817e0f383760e37ca9286150d5816cf0594.zip |
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 'util')
0 files changed, 0 insertions, 0 deletions