[PATCH v3 3/3] net: Add -ipv6-hostfwd option, ipv6_hostfwd_add/remove commands

2021-02-03 Thread dje--- via
These are identical to their ipv4 counterparts, but for ipv6. Signed-off-by: Doug Evans --- hmp-commands.hx | 32 +++ include/net/slirp.h | 2 + net/slirp.c | 128 +++- qapi/net.json | 4 ++ 4 files changed, 164 insertions(+)

[PATCH v3 2/3] net/slirp.c: Refactor address parsing

2021-02-03 Thread dje--- via
... in preparation for adding ipv6 host forwarding support. Signed-off-by: Doug Evans --- net/slirp.c | 200 +--- 1 file changed, 129 insertions(+), 71 deletions(-) diff --git a/net/slirp.c b/net/slirp.c index be914c0be0..a21a313302 100644 --- a/n

[PATCH v3 1/3] slirp: Placeholder for libslirp ipv6 hostfwd support

2021-02-03 Thread dje--- via
This commit is intended to only contain the slirp submodule change that adds ipv6 hostfwd support. --- slirp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slirp b/slirp index 8f43a99191..358c0827d4 16 --- a/slirp +++ b/slirp @@ -1 +1 @@ -Subproject commit 8f43a99191afb47c

[PATCH v3 0/3]

2021-02-03 Thread dje--- via
Add support for ipv6 host forwarding This patchset takes the original patch from Maxim, https://www.mail-archive.com/qemu-devel@nongnu.org/msg569573.html and updates it. New option: -ipv6-hostfwd New commands: ipv6_hostfwd_add, ipv6_hostfwd_remove These are the ipv6 equivalents of their ipv4 co

[PATCH v2 1/2] net/slirp.c: Refactor address parsing

2021-02-03 Thread dje--- via
... in preparation for adding ipv6 host forwarding support. --- net/slirp.c | 200 +--- slirp | 2 +- 2 files changed, 130 insertions(+), 72 deletions(-) diff --git a/net/slirp.c b/net/slirp.c index be914c0be0..a21a313302 100644 --- a/net/sl

[PATCH v2 0/2] Add support for ipv6 host forwarding

2021-02-03 Thread dje--- via
This patchset takes the original patch from Maxim, https://www.mail-archive.com/qemu-devel@nongnu.org/msg569573.html and updates it. New option: -ipv6-hostfwd New commands: ipv6_hostfwd_add, ipv6_hostfwd_remove These are the ipv6 equivalents of their ipv4 counterparts. The libslirp part of the

[PATCH v2 2/2] net: Add -ipv6-hostfwd option, ipv6_hostfwd_add/remove commands

2021-02-03 Thread dje--- via
These are identical to their ipv4 counterparts, but for ipv6. Signed-off-by: Doug Evans --- hmp-commands.hx | 28 ++ include/net/slirp.h | 2 + net/slirp.c | 129 +++- qapi/net.json | 4 ++ 4 files changed, 161 insertions(+),

Re: [PATCH] hw/net: Add npcm7xx emc model

2021-02-02 Thread dje--- via
On Mon, Feb 1, 2021 at 9:11 AM Peter Maydell wrote: > On Fri, 22 Jan 2021 at 00:34, dje--- via wrote: > > > > This is a 10/100 ethernet device that has several features. > > Only the ones needed by the Linux driver have been implemented. > > See npcm7xx_emc.c

[PATCH v2 3/3] tests/qtests: Add npcm7xx emc model test

2021-02-02 Thread dje--- via
Reviewed-by: Hao Wu Reviewed-by: Avi Fishman Signed-off-by: Doug Evans --- tests/qtest/meson.build| 1 + tests/qtest/npcm7xx_emc-test.c | 793 + 2 files changed, 794 insertions(+) create mode 100644 tests/qtest/npcm7xx_emc-test.c diff --git a/tests/qt

[PATCH v2 1/3] hw/net: Add npcm7xx emc model

2021-02-02 Thread dje--- via
This is a 10/100 ethernet device that has several features. Only the ones needed by the Linux driver have been implemented. See npcm7xx_emc.c for a list of unimplemented features. Reviewed-by: Hao Wu Reviewed-by: Avi Fishman Signed-off-by: Doug Evans --- hw/net/meson.build | 1 + h

[PATCH v2 2/3] hw/arm: Add npcm7xx emc model

2021-02-02 Thread dje--- via
This is a 10/100 ethernet device that has several features. Only the ones needed by the Linux driver have been implemented. See npcm7xx_emc.c for a list of unimplemented features. Reviewed-by: Hao Wu Reviewed-by: Avi Fishman Signed-off-by: Doug Evans --- docs/system/arm/nuvoton.rst | 3 ++- h

[PATCH v2 0/3] Add npcm7xx emc model

2021-02-02 Thread dje--- via
This is a 10/100 ethernet device that has several features. Only the ones needed by the Linux driver have been implemented. See npcm7xx_emc.c for a list of unimplemented features. Doug Evans (3): hw/net: Add npcm7xx emc model hw/arm: Add npcm7xx emc model tests/qtests: Add npcm7xx emc model

[PATCH] net/slirp.c: Fix spelling error in error message

2021-01-21 Thread dje--- via
DNS should be DHCP Signed-off-by: Doug Evans --- net/slirp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/slirp.c b/net/slirp.c index 8350c6d45f..be914c0be0 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -473,7 +473,7 @@ static int net_slirp_init(NetClientState *peer, c

[PATCH] hw/net: Add npcm7xx emc model

2021-01-21 Thread dje--- via
This is a 10/100 ethernet device that has several features. Only the ones needed by the Linux driver have been implemented. See npcm7xx_emc.c for a list of unimplemented features. Reviewed-by: Hao Wu Reviewed-by: Avi Fishman Signed-off-by: Doug Evans --- docs/system/arm/nuvoton.rst| 3 +-

Re: [PATCH 0/2] Add ipv6 hostfwd support

2021-01-21 Thread dje--- via
On Thu, Jan 21, 2021 at 1:41 AM Marc-André Lureau < marcandre.lur...@gmail.com> wrote: > Hi Doug, > > On Thu, Jan 21, 2021 at 12:24 PM dje--- via wrote: > > > > Hi. This patchset takes the original patch from Maxim, > > https://www.mail-archive.com/qemu-devel@

[PATCH 2/2] net: Add ipv6_hostfwd option

2021-01-21 Thread dje--- via
Signed-off-by: Doug Evans --- hmp-commands.hx | 29 - include/net/slirp.h | 2 + net/slirp.c | 311 +++- qapi/net.json | 1 + slirp | 2 +- 5 files changed, 279 insertions(+), 66 deletions(-) diff --git a/hmp-comm

[PATCH 1/2] slirp: Add ipv6 hostfwd support

2021-01-21 Thread dje--- via
Signed-off-by: Doug Evans --- src/libslirp.h | 6 +++ src/slirp.c| 51 +-- src/socket.c | 109 +++-- src/socket.h | 9 src/udp.c | 73 ++--- src/udp.h | 2 + 6 files changed,

[PATCH 0/2] Add ipv6 hostfwd support

2021-01-21 Thread dje--- via
Hi. This patchset takes the original patch from Maxim, https://www.mail-archive.com/qemu-devel@nongnu.org/msg569573.html and updates it. The first patch is the slirp additions, the second patch adds the u/i. Doug Evans (2): slirp: Add ipv6 hostfwd support net: Add ipv6_hostfwd option Slirp: