virtio_ccw: legacy: don't negotiate rev 1/features
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Dec 2014 16:59:50 +0000 (18:59 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 14:32:32 +0000 (16:32 +0200)
commitce15408f350c4b97635618692a45aedabfdd2696
tree26cb818d379d72c914763a505fd486b2de9bc986
parentb6098c30423cb1f0f5a4d0a5495e2670e274e544
virtio_ccw: legacy: don't negotiate rev 1/features

Legacy balloon device doesn't pretend to support revision 1 or 64 bit
features.

But just in case someone implements a broken one that does, let's not
even try to drive legacy only devices using revision 1, and let's not
give them a chance to say they support VIRTIO_F_VERSION_1 by not reading
or writing high feature bits.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/s390/kvm/virtio_ccw.c