Re: [Qemu-devel] [PATCH 05/14] virtio-net: use safe iov operations for rx

2012-09-24 Thread Anthony Liguori
"Michael S. Tsirkin" writes: > Avoid magling iov manually: use safe iov operations > for processing packets incoming to guest. > This also removes the requirement for virtio header to > fit the first s/g entry exactly. > > Signed-off-by: Michael S. Tsirkin Reviewed-by: Anthony Liguori Regards

[Qemu-devel] [PATCH 05/14] virtio-net: use safe iov operations for rx

2012-09-24 Thread Michael S. Tsirkin
Avoid magling iov manually: use safe iov operations for processing packets incoming to guest. This also removes the requirement for virtio header to fit the first s/g entry exactly. Signed-off-by: Michael S. Tsirkin --- hw/virtio-net.c | 25 ++--- 1 file changed, 14 insertion