From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvUbL-0006g7-Cp for qemu-devel@nongnu.org; Sun, 19 Apr 2009 06:50:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvUPP-0003nf-ED for qemu-devel@nongnu.org; Sun, 19 Apr 2009 06:38:04 -0400 Received: from [199.232.76.173] (port=58334 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvUPI-0003nO-ME for qemu-devel@nongnu.org; Sun, 19 Apr 2009 06:37:52 -0400 Received: from mail-fx0-f169.google.com ([209.85.220.169]:41529) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LvUPI-0007AE-2X for qemu-devel@nongnu.org; Sun, 19 Apr 2009 06:37:52 -0400 Received: by fxm17 with SMTP id 17so1349005fxm.34 for ; Sun, 19 Apr 2009 03:37:51 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20090419100425.24240.56844.stgit@mchn012c.ww002.siemens.net> References: <20090419100424.24240.51439.stgit@mchn012c.ww002.siemens.net> <20090419100425.24240.56844.stgit@mchn012c.ww002.siemens.net> Date: Sun, 19 Apr 2009 13:37:50 +0300 Message-ID: Subject: Re: [Qemu-devel] [PATCH v2 03/11] net: Prevent multiple slirp instances From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 4/19/09, Jan Kiszka 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