« Previous | Next » 

Revision 783e7706

ID783e7706937fe15523b609b545587a028a2bdd03

Added by Michael S. Tsirkin over 13 years ago

virtio-net: stop/start bh when appropriate

Avoid sending out packets, and modifying
memory, when VM is stopped.
Add assert statements to verify this does not happen.

Avoid scheduling bh when vhost-net is started.

Stop bh when driver disabled bus mastering
(we must not access memory after this).

Signed-off-by: Michael S. Tsirkin <>
Tested-by: Jason Wang <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences