On Wed, 07/01 16:23, Fam Zheng wrote: > Since commit 6e99c63 "net/socket: Drop net_socket_can_send" and friends, > net queues need to be explicitly flushed after qemu_can_send_packet() > returns false, because the netdev side will disable the polling of fd. > > This fixes the case of "cont" after "stop" (or migration), i.e. > vm_running changes to true, by listening to vm state changes. > > Signed-off-by: Fam Zheng <f...@redhat.com>
Note that to fix virtio-net, this patch is also needed: http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg07377.html Fam