]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit7d3ce5ab9430504b6d91027919529f68fd14af9b
treed853e17383f3380973f42fd1bebc2fb3cb8c01e6
parent47a4c49af6cc1982ce613c8ee79aab459d04c44c
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