From: "Anton Ivanov (antivano)" <antivano@cisco.com>
To: Stefan Hajnoczi <stefanha@gmail.com>,
"anton.ivanov@kot-begemot.co.uk" <anton.ivanov@kot-begemot.co.uk>
Cc: "pbonzini@redhat.com" <pbonzini@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"stefanha@redhat.com" <stefanha@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v9] net: L2TPv3 transport
Date: Mon, 23 Jun 2014 12:01:19 +0000 [thread overview]
Message-ID: <53A8170D.4040006@cisco.com> (raw)
In-Reply-To: <20140623115017.GB15351@stefanha-thinkpad.redhat.com>
On 23/06/14 12:50, Stefan Hajnoczi wrote:
> On Fri, Jun 20, 2014 at 10:34:41AM +0100, anton.ivanov@kot-begemot.co.uk wrote:
>> From: Anton Ivanov <antivano@cisco.com>
>>
>> This transport 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
>> devices as well as other QEMU instances.
>>
>> Signed-off-by: Anton Ivanov <antivano@cisco.com>
>> ---
>>
>> Comments addressed in this patch:
>>
>> 1. Extra checks and reinitilization of the result variable in init to
>> address remaining potential failure cases in getaddrinfo() as noticed
>> by Stefan Hajnoczi
>>
>> net/Makefile.objs | 1 +
>> net/clients.h | 2 +
>> net/l2tpv3.c | 757 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>> net/net.c | 3 +
>> qapi-schema.json | 60 +++++
>> qemu-options.hx | 82 ++++++
>> 6 files changed, 905 insertions(+)
>> create mode 100644 net/l2tpv3.c
> Thanks, applied to my net tree:
> https://github.com/stefanha/qemu/commits/net
>
> Note I had to add the following to make -netdev work:
> @@ -842,6 +845,9 @@ static int net_client_init1(const void *object, int is_netdev, Error **errp)
> #ifdef CONFIG_VHOST_NET_USED
> case NET_CLIENT_OPTIONS_KIND_VHOST_USER:
> #endif
> +#ifdef CONFIG_LINUX
> + case NET_CLIENT_OPTIONS_KIND_L2TPV3:
> +#endif
> break;
>
> default:
>
> Stefan
I will pull that.
Thanks,
A.
prev parent reply other threads:[~2014-06-23 12:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-20 9:34 [Qemu-devel] [PATCH v9] net: L2TPv3 transport anton.ivanov
2014-06-23 11:50 ` Stefan Hajnoczi
2014-06-23 12:01 ` Anton Ivanov (antivano) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53A8170D.4040006@cisco.com \
--to=antivano@cisco.com \
--cc=anton.ivanov@kot-begemot.co.uk \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).