« Previous | Next » 

Revision 32993698

ID3299369856db73a02c68869cb03fd1e24238eb9b

Added by Michael S. Tsirkin about 13 years ago

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 <>
Reported-by: pradeep <>
Acked-by: Alex Williamson <>
Acked-by: Jason Wang <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences