« Previous | Next » 

Revision 32993698


Added by Michael S. Tsirkin about 10 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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences