notify io_thread at the end of rx handling
commita61d1f6701a4a25428b2d4211c0740cfb7c54e8d
authorGlauber Costa <glommer@redhat.com>
Mon, 20 Jul 2009 17:07:41 +0000 (20 13:07 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Jul 2009 15:58:49 +0000 (22 10:58 -0500)
tree48f1cde50d8f1f54f49ba6c5c47a6cacd73f80fa
parent452e475196a3f8b6b96d16bbaca727ebc1278a97
notify io_thread at the end of rx handling

This is a backport from qemu-kvm. Just instead of using kvm's specific
notification mechanism, we use qemu_notify_event()

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-net.c