KVM: s390: Set virtio-ccw transport revision
authorThomas Huth <thuth@linux.vnet.ibm.com>
Tue, 7 Oct 2014 14:39:50 +0000 (16:39 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:26 +0000 (12:05 +0200)
commit6bb2c835c78add24d01351e8c7b040e670c31a46
treec27139d5420bed88b49d89698cc371d7844e3bb3
parent19c1c5a64c3b8eeb65b63abba248b880dd584589
KVM: s390: Set virtio-ccw transport revision

With the new SET-VIRTIO-REVISION command of the virtio 1.0 standard, we
can now negotiate the virtio-ccw revision after setting a channel online.

Note that we don't negotiate version 1 yet.

[Cornelia Huck: reworked revision loop a bit]
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/s390/kvm/virtio_ccw.c