]> Git Repo - qemu.git/commit - hw/virtio-net.c
vhost: disable on tap link down
authorMichael S. Tsirkin <[email protected]>
Wed, 9 Feb 2011 16:45:09 +0000 (18:45 +0200)
committerAurelien Jarno <[email protected]>
Sun, 20 Feb 2011 17:06:21 +0000 (18:06 +0100)
commit3299369856db73a02c68869cb03fd1e24238eb9b
tree881f6b5aabbd155837e86ede3eb781b77381b66f
parentab1cbe1c6df3c1f11db42148f929113ad9608ba1
vhost: disable on tap link down

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

When vhost-net is enabled, vhost needs to be aware of both the virtio
link_down and the peer link_down. we switch to userspace emulation when
either is down.

Signed-off-by: Michael S. Tsirkin <[email protected]>
Reported-by: pradeep <[email protected]>
Acked-by: Alex Williamson <[email protected]>
Acked-by: Jason Wang <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
hw/virtio-net.c
This page took 0.026576 seconds and 4 git commands to generate.