]> Git Repo - qemu.git/commit - hw/xen_nic.c
xen: flush queue when getting an event
authorPaolo Bonzini <[email protected]>
Thu, 9 Aug 2012 14:45:57 +0000 (16:45 +0200)
committerStefan Hajnoczi <[email protected]>
Fri, 14 Sep 2012 07:40:31 +0000 (08:40 +0100)
commita98b140223d3a627eab7ee3ddec645bab630d756
tree51017fc43188aa807b8d1ebd87aa7501024bf31f
parente8b4c680b41bd960ecccd9ff076b7b058e0afcd4
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 <[email protected]>
Cc: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Amos Kong <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
hw/xen_nic.c
This page took 0.026136 seconds and 4 git commands to generate.