mirror of
https://github.com/qemu/qemu.git
synced 2024-12-04 01:03:38 +08:00
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:
parent
e32652f759
commit
7aa2adc283
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user