]> www.infradead.org Git - users/dwmw2/qemu.git/commit
virtio-net: delete also control queue when TX/RX deleted
authorYuri Benditovich <yuri.benditovich@daynix.com>
Thu, 26 Dec 2019 04:36:49 +0000 (06:36 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 12 May 2020 14:27:32 +0000 (09:27 -0500)
commit7042922dd77333af256a4232c8f5e8d0ae17f275
treebe381a1b6a6d83ea018275131a4b3083b9d95929
parenta474197f113cf2e799755859d81e051e24e7c80c
virtio-net: delete also control queue when TX/RX deleted

https://bugzilla.redhat.com/show_bug.cgi?id=1708480
If the control queue is not deleted together with TX/RX, it
later will be ignored in freeing cache resources and hot
unplug will not be completed.

Cc: qemu-stable@nongnu.org
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Message-Id: <20191226043649.14481-3-yuri.benditovich@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit d945d9f1731244ef341f74ede93120fc9de35913)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/net/virtio-net.c