kvm: qemu: fixup virtio_net TX timer
commit4effefb475d149482169331df5ff45efde0cc4ab
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 8 Jan 2008 16:07:55 +0000 (8 10:07 -0600)
committerAvi Kivity <avi@qumranet.com>
Tue, 8 Jan 2008 16:39:18 +0000 (8 18:39 +0200)
tree2407d91ed7c85452e8d2ef873b8c4e5af60fdbfe
parente177c9ceb082e112b05f9dacef57fc3a4d6940e7
kvm: qemu: fixup virtio_net TX timer

Instead of introducing a new flag, make the NO_NOTIFY flag be a hint and have
both ends always notify when the ring is full or empty.  This patch updates
the QEMU virtio code to reflect this.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/hw/virtio-net.c
qemu/hw/virtio.c
qemu/hw/virtio.h