]> git.baikalelectronics.ru Git - kernel.git/commit
virtio/s390: support READ_STATUS command for virtio-ccw
authorPierre Morel <pmorel@linux.vnet.ibm.com>
Fri, 28 Aug 2015 09:09:32 +0000 (11:09 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jan 2017 21:46:32 +0000 (23:46 +0200)
commit582933852f21e89f737a11a6ed40c882ca4e3f4c
treed853e17383f3380973f42fd1bebc2fb3cb8c01e6
parentbe0207c1101e1f54e20a4b665c0d93739be30fac
virtio/s390: support READ_STATUS command for virtio-ccw

As virtio-1 introduced the possibility of the device manipulating the
status byte, revision 2 of the virtio-ccw transport introduced a means
of getting the status byte from the device via READ_STATUS. Let's wire
it up for revisions >= 2 and fall back to returning the stored status
byte if not supported.

Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/s390/virtio/virtio_ccw.c