]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_vhost/vhost.c
vhost: enable rings at the right time
[dpdk.git] / lib / librte_vhost / vhost.c
index 6e55116545dd9f8fd78cde56185f4050a49919b4..5a5ee3b8ac98d85b1de9027a544de627401de818 100644 (file)
@@ -159,12 +159,6 @@ init_vring_queue(struct virtio_net *dev, uint32_t vring_idx)
        /* Backends are set to -1 indicating an inactive device. */
        vq->backend = -1;
 
-       /*
-        * always set the vq to enabled; this is to keep compatibility
-        * with the old QEMU, whereas there is no SET_VRING_ENABLE message.
-        */
-       vq->enabled = 1;
-
        TAILQ_INIT(&vq->zmbuf_list);
 }