summaryrefslogtreecommitdiffstats
path: root/hw/pci.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2010-11-22 18:52:30 +0100
committerMichael S. Tsirkin2010-12-09 11:47:48 +0100
commit783e7706937fe15523b609b545587a028a2bdd03 (patch)
tree06a7ba2f6f8838db80e3d9b1e466b0af55223c9c /hw/pci.c
parentvirtio-net: don't dma while vm is stopped (diff)
downloadqemu-783e7706937fe15523b609b545587a028a2bdd03.tar.gz
qemu-783e7706937fe15523b609b545587a028a2bdd03.tar.xz
qemu-783e7706937fe15523b609b545587a028a2bdd03.zip
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 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions