pc-bios/s390-ccw/virtio: Beautify the code for reading virtqueue configuration
commit070824885741f5d2a66626d3c4ecb2773c8e0552
authorThomas Huth <thuth@redhat.com>
Mon, 4 Jul 2022 11:18:59 +0000 (4 13:18 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 6 Jul 2022 16:35:00 +0000 (6 18:35 +0200)
tree78e335a6ea619b6894fbe2ed63dbddfbfc73b5d9
parentaa5c69ce99411c4886bcd051f288afc02b6d968d
pc-bios/s390-ccw/virtio: Beautify the code for reading virtqueue configuration

It looks nicer if we separate the run_ccw() from the IPL_assert()
statement, and the error message should talk about "virtio device"
instead of "block device", since this code is nowadays used for
non-block (i.e. network) devices, too.

Message-Id: <20220704111903.62400-9-thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/virtio.c