aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2015-05-29 11:29:39 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-05-31 16:27:23 +0200
commit13644819c5bf322ae4c2a415aca77d5dbde95fe8 (patch)
tree4cde7774820427d03ad827d4371d6fdac374ef14 /hw
parent6b8f1020540c27246277377aa2c3331ad2bfb160 (diff)
virtio-ccw: Don't advertise VIRTIO_F_BAD_FEATURE
This was copied from virtio-pci, but it doesn't make much sense for ccw, as it doesn't have to handle the broken implementations this bit is supposed to deal with. Remove it. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/s390x/virtio-ccw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
index 6e9f8c164f..b7c07ef62e 100644
--- a/hw/s390x/virtio-ccw.c
+++ b/hw/s390x/virtio-ccw.c
@@ -1387,7 +1387,6 @@ static void virtio_ccw_device_plugged(DeviceState *d)
sch->id.cu_model = virtio_bus_get_vdev_id(&dev->bus);
virtio_add_feature(&vdev->host_features, VIRTIO_F_NOTIFY_ON_EMPTY);
- virtio_add_feature(&vdev->host_features, VIRTIO_F_BAD_FEATURE);
css_generate_sch_crws(sch->cssid, sch->ssid, sch->schid,
d->hotplugged, 1);