summary refs log tree commit diff stats
path: root/net/queue.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-08-09 16:45:57 +0200
committerStefan Hajnoczi <stefanha@gmail.com>2012-09-14 08:40:31 +0100
commita98b140223d3a627eab7ee3ddec645bab630d756 (patch)
tree51017fc43188aa807b8d1ebd87aa7501024bf31f /net/queue.c
parente8b4c680b41bd960ecccd9ff076b7b058e0afcd4 (diff)
downloadfocaccia-qemu-a98b140223d3a627eab7ee3ddec645bab630d756.tar.gz
focaccia-qemu-a98b140223d3a627eab7ee3ddec645bab630d756.zip
xen: flush queue when getting an event
xen does not have a register that, when written, will cause can_receive
to go from false to true.  However, flushing the queue can be attempted
whenever the front-end raises its side of the Xen event channel.  There
is a single event channel for tx and rx.

Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'net/queue.c')
0 files changed, 0 insertions, 0 deletions