virtio-ccw: handle virtio 1 only devices
commit47e13dfd86e33397d55bc3c3d08ac0ec3088b138
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Tue, 14 Feb 2017 13:06:07 +0000 (14 14:06 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 24 Feb 2017 09:15:18 +0000 (24 10:15 +0100)
tree6459fcc80a3190a35aa88cbe9589b26587d78632
parentba690c7171cb863643c21ab9f7e7116ad5df1c63
virtio-ccw: handle virtio 1 only devices

As a preparation for wiring-up virtio-crypto, the first non-transitional
virtio device on the ccw transport, let us introduce a mechanism for
disabling revision 0.  This is more or less equivalent with disabling
legacy as revision 0 is legacy only, and legacy drivers use the revision
0 exclusively.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/virtio-ccw.c
hw/s390x/virtio-ccw.h