From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nrw4e-00087L-3q for qemu-devel@nongnu.org; Wed, 17 Mar 2010 12:26:24 -0400 Received: from [199.232.76.173] (port=43642 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nrw4X-0007w3-Q2 for qemu-devel@nongnu.org; Wed, 17 Mar 2010 12:26:17 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nrvrz-0002BX-75 for qemu-devel@nongnu.org; Wed, 17 Mar 2010 12:13:20 -0400 Received: from mail2.shareable.org ([80.68.89.115]:49533) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nrvry-0002BP-UZ for qemu-devel@nongnu.org; Wed, 17 Mar 2010 12:13:19 -0400 Date: Wed, 17 Mar 2010 16:13:16 +0000 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH] better describe -net options Message-ID: <20100317161316.GA19158@shareable.org> References: <9cd4c8fc1003051307o5cf65642rd065d0da5f75c901@mail.gmail.com> <4BA0F601.4060802@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BA0F601.4060802@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Brian Thomason Anthony Liguori wrote: > > On 03/05/2010 03:07 PM, Brian Thomason wrote: > > The manpage reflects that multiple -net user calls may be made, > but if this is done, it can cause the program to hang. Instead, > multiple -net calls can be combined into one, and this patch adds > that information to qemu-options.hx. Also, -net user may only > be used in conjunction with -net nic. This is already implcitly > stated, but this patch makes that statement more explicit. > > Actually, the problem is that the user created a loop. It's actually > valid to have something like: > -net user -net dump,file=foo.pcap -net nic > But having -net user -net user creates a loop. When I used -net user -net user, it didn't hang: QEMU crashed with a stack overflow. It crashed after a doing a successful full OS install, because everything was fine until the first network packet. That's not nice, even if it is user error. -- Jamie