Add method to send fragmented packets
commit3488ee680fbbd5dbe6b30168d91975352b7f5a3e
authorAnthony Liguori <aliguori@us.ibm.com>
Tue, 13 May 2008 19:13:38 +0000 (13 14:13 -0500)
committerAvi Kivity <avi@qumranet.com>
Wed, 14 May 2008 12:37:19 +0000 (14 15:37 +0300)
tree0d3d5b221915f797b8b0338af370c20bb621ab3b
parent7de49b0b8cf645f3030795afe587939d09300c74
Add method to send fragmented packets

We need to be able to send fragmented packets in KVM to avoid an extra copy
in the TX path.  This patch adds a qemu_sendv_packet() function to send
fragemented packets.  It also provides backwards compatibility for old clients
that don't support the new interface.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
net.h
vl.c