Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMVQu-0003Qn-G6 for qemu-devel@nongnu.org; Tue, 05 Feb 2008 16:34:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMVQs-0003Pw-MN for qemu-devel@nongnu.org; Tue, 05 Feb 2008 16:34:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMVQs-0003Pp-Gx for qemu-devel@nongnu.org; Tue, 05 Feb 2008 16:34:22 -0500 Received: from flpi102.sbcis.sbc.com ([207.115.20.71] helo=flpi102.prodigy.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMVQs-0002Rb-3r for qemu-devel@nongnu.org; Tue, 05 Feb 2008 16:34:22 -0500 Date: Tue, 5 Feb 2008 13:34:04 -0800 (PST) From: Asheesh Laroia Subject: Re: [Qemu-devel] Making qemu use 10.0.3.x not 10.0.2.x In-Reply-To: <200802052129.26282.paul@codesourcery.com> Message-ID: References: <20080205162206.38J1B.215136.root@eastrmwml22.mgt.cox.net> <200802052129.26282.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: andreas.faerber@web.de, qemu-devel@nongnu.org On Tue, 5 Feb 2008, Paul Brook wrote: >>> but make it configurable on the command line. That way, there are no >>> surprises ever. The rare people like me with an issue can just pass a >>> command-line parameter in. >> >> The point I was trying to make is that qemu could easily arbitrate the >> guest network based on how the host is configured. If the host has a >> 10.0.x.x network (and I suppose if we want to be thorough, a 10.0.x.x >> route), then it punts to 172.16.x.x (and does the same check) and then >> tries a couple of 192.168.x.x networks. > > I really dislike this kind of guesswork. It makes it very hard to > debug/reproduce problems, and means you're never really sure what qemu > is going to do. IMHO One of the really nice features of qemu is that it > is host independent. I agree with this - guesswork and invisible options can be confusing. That's why I suggest what I think is the simplest solution: Just let this be overridable on the command line. -- Asheesh. -- Don't suspect your friends -- turn them in! -- "Brazil"