« Previous | Next » 

Revision afbaa7b4

IDafbaa7b4382faced3c364606a5e5d5389462147b

Added by Michael S. Tsirkin almost 11 years ago

virtio-net: unify vhost-net start/stop

Move all of vhost-net start/stop logic to a single routine,
and call it from everywhere.

Additionally, start/stop vhost-net on link up/down:
we should not transmit anything if user asked us to
put the link down.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Alex Williamson <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences