]> git.proxmox.com Git - qemu.git/commit
virtio-net: avoid sg copy
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 24 Sep 2012 11:14:16 +0000 (13:14 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 29 Oct 2012 16:25:23 +0000 (18:25 +0200)
commit22cc84db6e42bef8646b8cd671f4c999e9c0a38f
tree167e1dbe37e1e635edced71474ea2593a29ea30e
parentd336336c8164859e4527cbb9f3df189f8bb406de
virtio-net: avoid sg copy

Avoid tweaking iovec during receive. This removes
the need to copy the vector.
Note: we currently have an evil cast in work_around_broken_dhclient
and unfortunately this patch does not fix it - just
pushes the evil cast to another place.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio-net.c