]> git.proxmox.com Git - mirror_qemu.git/commit - net/net.c
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)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 4 Sep 2014 16:19:09 +0000 (17:19 +0100)
commitca77d85e1dbf929ae677a0bac96e9b3edd1704da
treee43f98e9e4a5486116192f4fc13cd29864562886
parent07d8084624b3f5cbde7777849147a6a3a862e90a
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>
net/net.c