Re: [Qemu-devel] [PATCH] net: add API to disable/enable polling

2010-01-08 Thread Anthony Liguori
On 12/24/2009 06:46 AM, Michael S. Tsirkin wrote: When vhost is bound to a backend device, we need to stop polling it when vhost is started, and restart polling when vhost is stopped. Add an API for that for use by vhost, and implement in tap backend. Signed-off-by: Michael S. Tsirkin Appl

[Qemu-devel] [PATCH] net: add API to disable/enable polling

2009-12-24 Thread Michael S. Tsirkin
When vhost is bound to a backend device, we need to stop polling it when vhost is started, and restart polling when vhost is stopped. Add an API for that for use by vhost, and implement in tap backend. Signed-off-by: Michael S. Tsirkin --- net.h |3 +++ net/tap.c |8 2 files