From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN1q7-0000zf-Rm for qemu-devel@nongnu.org; Mon, 10 Mar 2014 11:10:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WN1q1-0004dE-FE for qemu-devel@nongnu.org; Mon, 10 Mar 2014 11:10:03 -0400 Received: from alln-iport-4.cisco.com ([173.37.142.91]:1092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN1q1-0004cy-AN for qemu-devel@nongnu.org; Mon, 10 Mar 2014 11:09:57 -0400 From: "Anton Ivanov (antivano)" Date: Mon, 10 Mar 2014 15:09:54 +0000 Message-ID: <531DD5C0.7030707@cisco.com> References: <1394451098-296108-1-git-send-email-anton.ivanov@kot-begemot.co.uk> <20140310150529.GC32400@stefanha-thinkpad.redhat.com> In-Reply-To: <20140310150529.GC32400@stefanha-thinkpad.redhat.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] net: L2TPv3 transport List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: "pbonzini@redhat.com" , "stefanha@redhat.com" , "anton.ivanov@kot-begemot.co.uk" , "afaerber@suse.de" , "qemu-devel@nongnu.org" On 10/03/14 15:05, Stefan Hajnoczi wrote: > On Mon, Mar 10, 2014 at 11:31:38AM +0000, anton.ivanov@kot-begemot.co.uk = wrote: >> From: Anton Ivanov >> >> This tranport allows to connect a qemu nic to a static Ethernet >> over L2TPv3 tunnel. The transport supports all options present >> in the linux kernel implementation. It allows qemu to connect >> to any linux host running kernel 3.3+, most routers and network >> >> Signed-off-by: Anton Ivanov >> --- >> net/Makefile.objs | 1 + >> net/clients.h | 2 + >> net/l2tpv3.c | 585 ++++++++++++++++++++++++++++++++++++++++++++++= +++++++ >> net/net.c | 3 + >> qapi-schema.json | 59 +++++- >> qemu-options.hx | 94 +++++++-- >> 6 files changed, 730 insertions(+), 14 deletions(-) >> create mode 100644 net/l2tpv3.c > This patch is missing the [PATCH v4] revision number and still uses > IPPROTO_L2TP, which is being discussed in the previous thread. =20 I sent you an example - putting 0 there does not work. You get 93 errno if you try to create a socket with the result of that. I am open to suggestions to what will be the correct way to specify that. 0, however does not seem to work. socket() does not like it. > I guess > it will be necessary to send one more revision once that discussion is > finished. OK. A. > > Stefan