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]>