]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/lguest/lguest_device.c
virtio: Add transport feature handling stub for virtio_ring.
[linux-2.6-omap-h63xx.git] / drivers / lguest / lguest_device.c
index 54fdc2aa48067e28062f8d53484116bc7f7ea1e8..37344aaee22f3ab44910a18576489466c0b8c30d 100644 (file)
@@ -105,6 +105,9 @@ static void lg_finalize_features(struct virtio_device *vdev)
        /* Second half of bitmap is features we accept. */
        u8 *out_features = lg_features(desc) + desc->feature_len;
 
+       /* Give virtio_ring a chance to accept features. */
+       vring_transport_features(vdev);
+
        memset(out_features, 0, desc->feature_len);
        bits = min_t(unsigned, desc->feature_len, sizeof(vdev->features)) * 8;
        for (i = 0; i < bits; i++) {