Message ID | 20150413141551.41daad1e.cornelia.huck@de.ibm.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index 8b6b2ab..4d8cc24 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -703,6 +703,9 @@ static int virtio_ccw_cb(SubchDev *sch, CCW1 ccw) dev->host_features = virtio_bus_get_vdev_features_rev(&dev->bus, dev->host_features, dev->revision >= 1 ? 1 : 0); + if (dev->revision >= 1) { + virtio_add_feature(&dev->host_features, VIRTIO_F_VERSION_1); + } break; default: ret = -ENOSYS;