KVM: s390: enable virtio-ccw revision 1
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 7 Oct 2014 14:39:52 +0000 (16:39 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:27 +0000 (12:05 +0200)
Now that virtio-ccw has everything needed to support virtio 1.0 in
place, try to enable it if the host supports it.

Reviewed-by: David Hildenbrand <dahi@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

index 45ab269d70dbb4c3ae137af57381bb04ecc71d45..4a3e6e510294b2e45ee0b1336cb8947493db1af3 100644 (file)
@@ -103,7 +103,7 @@ struct virtio_rev_info {
 };
 
 /* the highest virtio-ccw revision we support */
-#define VIRTIO_CCW_REV_MAX 0
+#define VIRTIO_CCW_REV_MAX 1
 
 struct virtio_ccw_vq_info {
        struct virtqueue *vq;