Re: splice() based interguest networking

Avi Kivity
2008-12-02T12:18:07Z

Anthony Liguori wrote:
>
> 1) On TX, we vmsplice() from the sg buffer to one pipe. This will end
> up being vmsplice_to_pipe() in the kernel which is zero-copy.
>

That implies we do the MAC address switching in userspace (or that this
is a point-to-point protocol, which severely limits its usefulness).

I think we can still have one-copy interguest networking if we have
proper skb destructors; and since we need that for the more important
guest->external copyless support, we basically get it for free (if delayed).

--
error compiling committee.c: too many arguments to function