Disable recv notifications until avail buffers exhausted
commitc92b307954c860a43f407187212580a4cd6b7a60
authorMark McLoughlin <markmc@redhat.com>
Mon, 11 Aug 2008 20:12:07 +0000 (11 21:12 +0100)
committerAvi Kivity <avi@qumranet.com>
Wed, 13 Aug 2008 09:12:04 +0000 (13 12:12 +0300)
tree76ff32db299577c83279763c48e4a5849dab821f
parentcb59640964e399d7be43dc623cc02fdd1f851382
Disable recv notifications until avail buffers exhausted

Once we know we have buffers available on the receive ring, we can
safely disable notifications.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
hw/virtio-net.c