virtio-ccw: set revision 2 as maximal revision number
authorPierre Morel <pmorel@linux.vnet.ibm.com>
Wed, 7 Sep 2016 11:04:46 +0000 (13:04 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 19 Sep 2016 09:05:51 +0000 (11:05 +0200)
We have everything needed for virtio-ccw revision 2 wired up now.
Bump the maximum supported revision reported on a device basis to
the guest so they can make use of it.

Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/virtio-ccw.h

index 6ef940a98c5e0b98139292578b657a03ee5d1b9b..565094e4fb367cd7ee3def02473259bed8b093b5 100644 (file)
@@ -99,7 +99,7 @@ struct VirtioCcwDevice {
 };
 
 /* The maximum virtio revision we support. */
-#define VIRTIO_CCW_MAX_REV 1
+#define VIRTIO_CCW_MAX_REV 2
 static inline int virtio_ccw_rev_max(VirtioCcwDevice *dev)
 {
     return dev->max_rev;