]> git.proxmox.com Git - qemu.git/commit
net: add API to disable/enable polling
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 24 Dec 2009 12:46:29 +0000 (14:46 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 Jan 2010 15:58:40 +0000 (09:58 -0600)
commitceb696159d569db5b2a7659ce38752398c236742
treea3314395ea15958581352493bde96eb9b529291c
parentc9f398e53fedb88df243e32eb9bc50fda4ec44d0
net: add API to disable/enable polling

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 <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.h
net/tap.c