aboutsummaryrefslogtreecommitdiff
path: root/ioport.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-22 17:43:35 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:29:00 -0500
commit8e0f8e5bf8fd483dd28329055336cf895b74c89f (patch)
treeffe6c1da95d86b0a9c1cedbb0c29dd5f39c3500b /ioport.c
parent38c75be3139a117b02350dbda9d48d47aa57fa3d (diff)
downloadqemu-8e0f8e5bf8fd483dd28329055336cf895b74c89f.zip
qemu-8e0f8e5bf8fd483dd28329055336cf895b74c89f.tar.gz
qemu-8e0f8e5bf8fd483dd28329055336cf895b74c89f.tar.bz2
net: enable IFF_VNET_HDR on tap fds if available
For now, we just add an empty header before writing and strip the header after reading. We really only want IFF_VNET_HDR when virtio_net is using it, but it would significantly complicate matters to try and do that. There should be little or no performance impact with always adding headers. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'ioport.c')
0 files changed, 0 insertions, 0 deletions