]> git.ipfire.org Git - thirdparty/qemu.git/commit
net: complete all queued packets on VM stop
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Sep 2014 08:39:13 +0000 (11:39 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 10 Sep 2014 14:30:58 +0000 (09:30 -0500)
commit08743db463e52a2d1d789200dba5bfaa3221adc2
tree8e27f9193affaaa2dd5be3fd599a47b5d1678a7f
parentd9c06c0d794a3729be7f9772b0ee654ddfc7f5a7
net: complete all queued packets on VM stop

This completes all packets, ensuring that callbacks
will not run when VM is stopped.

Cc: qemu-stable@nongnu.org
Cc: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit ca77d85e1dbf929ae677a0bac96e9b3edd1704da)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
net/net.c