aboutsummaryrefslogtreecommitdiff
path: root/hw/net
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia@oracle.com>2019-03-21 18:18:32 +0200
committerMichael S. Tsirkin <mst@redhat.com>2019-04-02 11:49:14 -0400
commit20f86a75a75efe7d2743d2f746d2933d01d582f1 (patch)
treedd9e734dcc836c647ad52eca77b9b4f8833285c8 /hw/net
parent75c5626c88a9675010018849ca9abc8d56045425 (diff)
virtio-net: Fix typo in comment
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Message-Id: <20190321161832.10533-1-yuval.shaia@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net')
-rw-r--r--hw/net/virtio-net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index 7e2c2a6f6a..ffe0872fff 100644
--- a/hw/net/virtio-net.c
+++ b/hw/net/virtio-net.c
@@ -2281,7 +2281,7 @@ static void virtio_net_change_num_queues(VirtIONet *n, int new_max_queues)
/*
* We always need to remove and add ctrl vq if
* old_num_queues != new_num_queues. Remove ctrl_vq first,
- * and then we only enter one of the following too loops.
+ * and then we only enter one of the following two loops.
*/
virtio_del_queue(vdev, old_num_queues - 1);