Fixup virtio_net TX timer
commit8b6d291748b03a15cf1ca4a007df7df2fd47fa90
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)
tree119cd1b40eb6ada1877344cd9d2a3a8acdf45fc5
parent9493af3db471e7f888d8ddfdf3dd4ff5d12aa97d
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>
hw/virtio-net.c
hw/virtio.c
hw/virtio.h