From: Jan Kiszka <jan.kiszka@web.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH v2 03/11] net: Prevent multiple slirp instances
Date: Sun, 19 Apr 2009 13:51:46 +0200 [thread overview]
Message-ID: <49EB1052.6030506@web.de> (raw)
In-Reply-To: <f43fc5580904190337g34571877r68395797b7eb38fb@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]
Blue Swirl wrote:
> On 4/19/09, Jan Kiszka <jan.kiszka@siemens.com> wrote:
>> The slirp stack is full of global variables which prevents instantiating
>> it more than once. Catch this during net_slirp_init to prevent more harm
>> later on.
>
> Alternatively the slirp stack could be taught to support multiple instances:
> http://lists.gnu.org/archive/html/qemu-devel/2007-10/msg00470.html
>
For sure - and nice to know that there is a reference! But as your patch
demonstrates, it's a larger effort which comes with some risks of
regression. Therefore I didn't attack this in the first step.
My next to-do item /wrt slirp is making those special IPs and DHCP
ranges fully configurable (ie. dhcpserver=..., gateway=...,
dhcpstart=... etc.). Depending on how many lines I'll have to touch
anyway, I may append multi-instance support to this as well.
In the meantime, and specifically for stable, my patch is required to
catch breakages users can trigger when they do not know about this slirp
limitation.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2009-04-19 11:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-19 10:04 [Qemu-devel] [PATCH v2 00/11] Various small networking improvements Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 05/11] monitor: Allow host_net_add/remove for all targets Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 04/11] monitor: Improve host_net_add Jan Kiszka
2009-04-28 15:08 ` Krumme, Chris
2009-04-28 19:25 ` [Qemu-devel] [PATCH] net: Avoid gcc'ism in net_host_device_add Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 02/11] net: Check device passed to host_net_remove Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 06/11] Allow empty params for check_params Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 03/11] net: Prevent multiple slirp instances Jan Kiszka
2009-04-19 10:37 ` Blue Swirl
2009-04-19 11:51 ` Jan Kiszka [this message]
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 01/11] net: Fix -net socket,listen Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 09/11] net: Add support for capturing VLANs Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 11/11] slirp: Enhance host-guest redirection setup Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 10/11] slirp: Handle DHCP requests for specific IP Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 07/11] net: Add parameter checks for VLAN clients Jan Kiszka
2009-04-19 10:04 ` [Qemu-devel] [PATCH v2 08/11] net: Untangle nested qemu_send_packet Jan Kiszka
2009-04-21 20:55 ` [Qemu-devel] [PATCH v2 00/11] Various small networking improvements Anthony Liguori
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=49EB1052.6030506@web.de \
--to=jan.kiszka@web.de \
--cc=qemu-devel@nongnu.org \
/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).