qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv3 0/2] vhost: fix tap link down
@ 2011-02-09 16:44 Michael S. Tsirkin
  2011-02-09 16:45 ` [Qemu-devel] [PATCHv3 1/2] net: notify peer about link status change Michael S. Tsirkin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michael S. Tsirkin @ 2011-02-09 16:44 UTC (permalink / raw)
  To: armbru, alex.williamson, glommer, lcapitulino, jasowang,
	Amit Shah, qemu-devel

qemu makes it possible to disable link at tap
which is not communicated to the guest but
causes all packets to be dropped.

With vhost-net at the moment it just keeps going.
Fix by communicating to virtio net and have that
stop vhost-net.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reported-by: pradeep <psuriset@linux.vnet.ibm.com>

Changes from v2:
	comment tweaked
	split to two patches

Changes from v1:
	fix link down after guest link is up



Michael S. Tsirkin (2):
  net: notify peer about link status change
  vhost: disable on tap link down

 hw/virtio-net.c |    3 ++-
 net.c           |   11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletions(-)

-- 
1.7.3.2.91.g446ac

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-20 17:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-09 16:44 [Qemu-devel] [PATCHv3 0/2] vhost: fix tap link down Michael S. Tsirkin
2011-02-09 16:45 ` [Qemu-devel] [PATCHv3 1/2] net: notify peer about link status change Michael S. Tsirkin
2011-02-09 16:45 ` [Qemu-devel] [PATCHv3 2/2] vhost: disable on tap link down Michael S. Tsirkin
2011-02-09 17:09 ` [Qemu-devel] Re: [PATCHv3 0/2] vhost: fix " Alex Williamson
2011-02-10  5:33 ` [Qemu-devel] " Jason Wang
2011-02-20 17:07 ` Aurelien Jarno

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).