diff options
author | Michael S. Tsirkin | 2011-02-09 17:45:09 +0100 |
---|---|---|
committer | Aurelien Jarno | 2011-02-20 18:06:21 +0100 |
commit | 3299369856db73a02c68869cb03fd1e24238eb9b (patch) | |
tree | 881f6b5aabbd155837e86ede3eb781b77381b66f /hw/pci.c | |
parent | net: notify peer about link status change (diff) | |
download | qemu-3299369856db73a02c68869cb03fd1e24238eb9b.tar.gz qemu-3299369856db73a02c68869cb03fd1e24238eb9b.tar.xz qemu-3299369856db73a02c68869cb03fd1e24238eb9b.zip |
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 <mst@redhat.com>
Reported-by: pradeep <psuriset@linux.vnet.ibm.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions