summaryrefslogtreecommitdiffstats
path: root/net/tap-linux.c
diff options
context:
space:
mode:
authorJason Wang2013-01-30 12:12:32 +0100
committerAnthony Liguori2013-02-01 18:03:02 +0100
commit16dbaf905b72636d1bb066968bceabd64eaa1a9d (patch)
treebe250670ab1dc6f35a705ca2ebbcd59c973eb486 /net/tap-linux.c
parenttap: add Linux multiqueue support (diff)
downloadqemu-16dbaf905b72636d1bb066968bceabd64eaa1a9d.tar.gz
qemu-16dbaf905b72636d1bb066968bceabd64eaa1a9d.tar.xz
qemu-16dbaf905b72636d1bb066968bceabd64eaa1a9d.zip
tap: support enabling or disabling a queue
This patch introduce a new bit - enabled in TAPState which tracks whether a specific queue/fd is enabled. The tap/fd is enabled during initialization and could be enabled/disabled by tap_enalbe() and tap_disable() which calls platform specific helpers to do the real work. Polling of a tap fd can only done when the tap was enabled. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net/tap-linux.c')
0 files changed, 0 insertions, 0 deletions