Skip to content

Commit

Permalink
virtio-ccw: Don't advertise VIRTIO_F_BAD_FEATURE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cohuck authored and mstsirkin committed May 31, 2015
1 parent 6b8f102 commit 1364481
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hw/s390x/virtio-ccw.c
Expand Up @@ -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);
Expand Down

0 comments on commit 1364481

Please sign in to comment.