On 10/03/14 15:05, Stefan Hajnoczi wrote: > On Mon, Mar 10, 2014 at 11:31:38AM +0000, anton.iva...@kot-begemot.co.uk > wrote: >> From: Anton Ivanov <antiv...@cisco.com> >> >> 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 <antiv...@cisco.com> >> --- >> 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.
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