virtio: drop an obsolete comment
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 12 Jan 2017 21:19:40 +0000 (23:19 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Jan 2017 20:59:53 +0000 (22:59 +0200)
virtio core has code to revert queue number
to maximum on reset. Drop TODO to add that.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/virtio/virtio-pci.c

index 8baaf2ba6daf32a4fcdfaf382cce17665f1ff020..09230c05df3c755689661629a91e84b7408cf4b7 100644 (file)
@@ -1316,7 +1316,6 @@ static void virtio_pci_common_write(void *opaque, hwaddr addr,
         virtio_queue_set_vector(vdev, vdev->queue_sel, val);
         break;
     case VIRTIO_PCI_COMMON_Q_ENABLE:
-        /* TODO: need a way to put num back on reset. */
         virtio_queue_set_num(vdev, vdev->queue_sel,
                              proxy->vqs[vdev->queue_sel].num);
         virtio_queue_set_rings(vdev, vdev->queue_sel,