qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] net: Flush queued packets when guest resumes


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH] net: Flush queued packets when guest resumes
Date: Wed, 1 Jul 2015 16:53:29 +0800
User-agent: Mutt/1.5.23 (2014-03-12)

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 <address@hidden>

Note that to fix virtio-net, this patch is also needed:

http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg07377.html

Fam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]