virtio-ccw: set revision 2 as maximal revision number

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>
This commit is contained in:
Pierre Morel 2016-09-07 13:04:46 +02:00 committed by Cornelia Huck
parent e32652f759
commit 7aa2adc283

View File

@ -99,7 +99,7 @@ struct VirtioCcwDevice {
}; };
/* The maximum virtio revision we support. */ /* 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) static inline int virtio_ccw_rev_max(VirtioCcwDevice *dev)
{ {
return dev->max_rev; return dev->max_rev;