diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-11-22 19:52:30 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-12-09 12:47:48 +0200 |
commit | 783e7706937fe15523b609b545587a028a2bdd03 (patch) | |
tree | 06a7ba2f6f8838db80e3d9b1e466b0af55223c9c /qemu-sockets.c | |
parent | 954773230484f5afeb675e9ff814c97e54e69e17 (diff) |
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 <mst@redhat.com>
Tested-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'qemu-sockets.c')
0 files changed, 0 insertions, 0 deletions