]> 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)
commitfcb236b20d19b1ad8c70b8f511654ee53038b3e3
treed853e17383f3380973f42fd1bebc2fb3cb8c01e6
parent6f9259a95a2b1f3d904f8a3db4ca29371c2e7bac
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