diff options
| author | Jason Wang | 2017-03-29 04:41:23 +0200 |
|---|---|---|
| committer | Jason Wang | 2017-03-31 02:48:13 +0200 |
| commit | 1074b879d1c84232177f9b4e044636639ac4c6a5 (patch) | |
| tree | cd01be700d5b463e5472f97070b391a213ca7a6e /block/commit.c | |
| parent | Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff) | |
| download | qemu-1074b879d1c84232177f9b4e044636639ac4c6a5.tar.gz qemu-1074b879d1c84232177f9b4e044636639ac4c6a5.tar.xz qemu-1074b879d1c84232177f9b4e044636639ac4c6a5.zip | |
virtio-net: avoid call tap_enable when there's only one queue
We call tap_enable() even if for multiqueue is not enabled. This is
wrong since it should be used for multiqueue codes to enable a
disabled queue. Fixing this by only calling this when multiqueue is
used.
Fixes: 16dbaf905b72 ("tap: support enabling or disabling a queue")
Reported-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Tested-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions
