From: Jason Wang <jasowang@redhat.com>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>, qemu-devel@nongnu.org
Cc: Thomas Huth <thuth@redhat.com>,
zhanghailiang <zhang.zhanghailiang@huawei.com>,
Li Zhijian <lizhijian@cn.fujitsu.com>,
Stefan Hajnoczi <stefanha@gmail.com>,
Dave Gilbert <dgilbert@redhat.com>,
Vasiliy Tolstov <v.tolstov@selfip.ru>,
Huangpeng <peter.huangpeng@huawei.com>,
Gonglei <arei.gonglei@huawei.com>,
Jan Kiszka <jan.kiszka@siemens.com>,
Guillaume Subiron <maethor@subiron.org>
Subject: Re: [Qemu-devel] [PATCHv9 0/10] slirp: Adding IPv6 support to Qemu -net user mode
Date: Mon, 7 Mar 2016 14:48:16 +0800 [thread overview]
Message-ID: <56DD2430.2090509@redhat.com> (raw)
In-Reply-To: <cover.1456168872.git.samuel.thibault@ens-lyon.org>
On 02/23/2016 03:28 AM, Samuel Thibault wrote:
> Hello,
>
> This is another respin of IPv6 in Qemu -net user mode.
>
>
> These patches add ICMPv6, NDP, make UDP and TCP compatible with IPv6, and add
> TFTP over IPv6.
>
Thanks a lot for the patches. Looks good overall, but see some issues:
- the series does not build on w32:
In file included from ./slirp/slirp.h:126:0,
from stubs/slirp.c:3:
./slirp/ip6.h:9:24: fatal error: netinet/in.h: No such file or directory
compilation terminated.
- Lots of checkpatch warnings, let's try to silent it.
- The patches do not apply to master cleanly.
- I expects a unit-test for this. You may want to have a look at the
pxe-test in tests/, I think it could be extended to test ipv6 slirp somehow.
And also some nits, see individual patches.
> Difference with version 8 is:
> - Fix freeing random number generator
> - Fix coding style
> - Fix prefix lengths in in6_equal_dns macro
>
> Here is a summary of the patches:
> Guillaume Subiron (7):
> slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration
> slirp: Adding IPv6 UDP support
> slirp: Factorizing tcpiphdr structure with an union
> slirp: Generalizing and neutralizing various TCP functions before
> adding IPv6 stuff
> slirp: Reindent after refactoring
> slirp: Handle IPv6 in TCP functions
> slirp: Adding IPv6 address for DNS relay
>
> Thomas Huth (1):
> slirp: Add IPv6 support to the TFTP code
>
> Yann Bordenave (2):
> slirp: Adding ICMPv6 error sending
> qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6
> addresses
>
> net/net.c | 31 ++++
> net/slirp.c | 69 ++++++++-
> qapi-schema.json | 40 +++--
> qemu-options.hx | 18 ++-
> slirp/Makefile.objs | 6 +-
> slirp/cksum.c | 25 ++++
> slirp/if.c | 2 +-
> slirp/if.h | 4 +-
> slirp/ip6.h | 142 ++++++++++++++++++
> slirp/ip6_icmp.c | 411 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> slirp/ip6_icmp.h | 213 +++++++++++++++++++++++++++
> slirp/ip6_input.c | 73 ++++++++++
> slirp/ip6_output.c | 38 +++++
> slirp/ip_icmp.c | 12 +-
> slirp/ip_icmp.h | 4 +-
> slirp/ip_input.c | 10 +-
> slirp/libslirp.h | 8 +-
> slirp/mbuf.c | 4 +-
> slirp/ndp_table.c | 84 +++++++++++
> slirp/slirp.c | 81 +++++++++--
> slirp/slirp.h | 43 +++++-
> slirp/socket.c | 54 ++++++-
> slirp/socket.h | 13 ++
> slirp/tcp.h | 2 +
> slirp/tcp_input.c | 181 ++++++++++++++++-------
> slirp/tcp_output.c | 51 +++++--
> slirp/tcp_subr.c | 114 +++++++++++----
> slirp/tcp_timer.c | 3 +-
> slirp/tcpip.h | 40 ++++-
> slirp/tftp.c | 133 +++++++++--------
> slirp/tftp.h | 7 +-
> slirp/udp.c | 19 ++-
> slirp/udp.h | 5 +
> slirp/udp6.c | 167 +++++++++++++++++++++
> 34 files changed, 1877 insertions(+), 230 deletions(-)
> create mode 100644 slirp/ip6.h
> create mode 100644 slirp/ip6_icmp.c
> create mode 100644 slirp/ip6_icmp.h
> create mode 100644 slirp/ip6_input.c
> create mode 100644 slirp/ip6_output.c
> create mode 100644 slirp/ndp_table.c
> create mode 100644 slirp/udp6.c
>
next prev parent reply other threads:[~2016-03-07 6:48 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-22 19:28 [Qemu-devel] [PATCHv9 0/10] slirp: Adding IPv6 support to Qemu -net user mode Samuel Thibault
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 01/10] slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfiguration Samuel Thibault
2016-03-07 6:53 ` Jason Wang
2016-03-07 11:24 ` Samuel Thibault
2016-03-08 1:39 ` Jason Wang
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 02/10] slirp: Adding ICMPv6 error sending Samuel Thibault
2016-03-07 6:55 ` Jason Wang
2016-03-07 13:34 ` Samuel Thibault
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 03/10] slirp: Adding IPv6 UDP support Samuel Thibault
2016-03-07 6:57 ` Jason Wang
2016-03-07 11:36 ` Samuel Thibault
2016-03-08 1:40 ` Jason Wang
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 04/10] slirp: Factorizing tcpiphdr structure with an union Samuel Thibault
2016-02-23 8:07 ` Thomas Huth
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 05/10] slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuff Samuel Thibault
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 06/10] slirp: Reindent after refactoring Samuel Thibault
2016-03-07 7:02 ` Jason Wang
2016-03-07 11:38 ` Samuel Thibault
2016-03-08 1:43 ` Jason Wang
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 07/10] slirp: Handle IPv6 in TCP functions Samuel Thibault
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 08/10] slirp: Adding IPv6 address for DNS relay Samuel Thibault
2016-02-23 8:12 ` Thomas Huth
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 09/10] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses Samuel Thibault
2016-02-23 8:27 ` Thomas Huth
2016-03-07 7:05 ` Jason Wang
2016-03-07 11:39 ` Samuel Thibault
2016-03-07 11:41 ` Samuel Thibault
2016-03-07 16:05 ` Eric Blake
2016-02-22 19:28 ` [Qemu-devel] [PATCHv9 10/10] slirp: Add IPv6 support to the TFTP code Samuel Thibault
2016-03-04 8:41 ` [Qemu-devel] [PATCHv9 0/10] slirp: Adding IPv6 support to Qemu -net user mode Thomas Huth
2016-03-04 15:50 ` Jan Kiszka
2016-03-06 16:59 ` Samuel Thibault
2016-03-07 5:03 ` Jason Wang
2016-03-07 11:09 ` Samuel Thibault
2016-03-07 12:06 ` Jan Kiszka
2016-03-07 12:11 ` Samuel Thibault
2016-03-07 12:14 ` Thomas Huth
2016-03-07 12:16 ` Jan Kiszka
2016-03-08 2:50 ` Jason Wang
2016-03-08 1:37 ` Jason Wang
2016-03-07 6:48 ` Jason Wang [this message]
2016-03-07 11:19 ` Samuel Thibault
2016-03-07 12:00 ` Thomas Huth
2016-03-07 13:37 ` Samuel Thibault
2016-03-08 2:48 ` Jason Wang
2016-03-08 8:53 ` Samuel Thibault
2016-03-07 11:55 ` Samuel Thibault
2016-03-07 15:37 ` Thomas Huth
2016-03-07 16:49 ` Samuel Thibault
2016-03-08 2:15 ` Jason Wang
2016-03-08 9:12 ` Samuel Thibault
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=56DD2430.2090509@redhat.com \
--to=jasowang@redhat.com \
--cc=arei.gonglei@huawei.com \
--cc=dgilbert@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=lizhijian@cn.fujitsu.com \
--cc=maethor@subiron.org \
--cc=peter.huangpeng@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=samuel.thibault@ens-lyon.org \
--cc=stefanha@gmail.com \
--cc=thuth@redhat.com \
--cc=v.tolstov@selfip.ru \
--cc=zhang.zhanghailiang@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.