]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
virtio-ccw: Don't advertise VIRTIO_F_BAD_FEATURE
authorCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 29 May 2015 09:29:39 +0000 (11:29 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 31 May 2015 14:27:23 +0000 (16:27 +0200)
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>
hw/s390x/virtio-ccw.c

index 6e9f8c164f41b1604782039ff1b71cd745b6cd78..b7c07ef62e3606b4b60f9b89e69c8451534833fe 100644 (file)
@@ -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);