From: Fam Zheng <famz@redhat.com>
To: qemu-devel@nongnu.org
Cc: Jason Wang <jasowang@redhat.com>,
chao.zhou@intel.com, Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] net: Flush queued packets when guest resumes
Date: Wed, 1 Jul 2015 16:53:29 +0800 [thread overview]
Message-ID: <20150701085329.GB9362@ad.nay.redhat.com> (raw)
In-Reply-To: <1435739014-23610-1-git-send-email-famz@redhat.com>
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 <famz@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
next prev parent reply other threads:[~2015-07-01 8:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-01 8:23 [Qemu-devel] [PATCH] net: Flush queued packets when guest resumes Fam Zheng
2015-07-01 8:53 ` Fam Zheng [this message]
2015-07-02 13:13 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150701085329.GB9362@ad.nay.redhat.com \
--to=famz@redhat.com \
--cc=chao.zhou@intel.com \
--cc=jasowang@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).