From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: splice() based interguest networking Date: Tue, 02 Dec 2008 14:18:02 +0200 Message-ID: <4935277A.9000206@redhat.com> References: <49343BF9.30308@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Rusty Russell , kvm-devel To: Anthony Liguori Return-path: Received: from mx2.redhat.com ([66.187.237.31]:51558 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753240AbYLBMSH (ORCPT ); Tue, 2 Dec 2008 07:18:07 -0500 In-Reply-To: <49343BF9.30308@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: 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