From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOm7e-0006Cc-1R for qemu-devel@nongnu.org; Mon, 11 Feb 2008 22:47:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOm7b-0006AN-C0 for qemu-devel@nongnu.org; Mon, 11 Feb 2008 22:47:51 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOm7a-0006A6-GJ for qemu-devel@nongnu.org; Mon, 11 Feb 2008 22:47:50 -0500 Received: from e33.co.us.ibm.com ([32.97.110.151]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JOm7a-0005cB-8d for qemu-devel@nongnu.org; Mon, 11 Feb 2008 22:47:50 -0500 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e33.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id m1C3lcRk009492 for ; Mon, 11 Feb 2008 22:47:38 -0500 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m1C3lcSu146464 for ; Mon, 11 Feb 2008 20:47:38 -0700 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m1C3lcsL003313 for ; Mon, 11 Feb 2008 20:47:38 -0700 Message-ID: <47B116DC.8080507@us.ibm.com> Date: Mon, 11 Feb 2008 21:47:40 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Allow default network type to be determined from an environmental variable References: <478A80B8.7070708@us.ibm.com> <200802111817.31058.rob@landley.net> <200802120246.37899.paul@codesourcery.com> In-Reply-To: <200802120246.37899.paul@codesourcery.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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: Paul Brook Cc: qemu-devel@nongnu.org Paul Brook wrote: > This is similar to why I dislike qemu automagically guessing settings. If you > force everything to be explicitly specified (or use fixed defaults) then > there's no margin for error. If behaviour depends on external factors then > you can guarantee the person stuck between you (the "expert") and the > misbehaving application will have no clue how to determine or control those > external factors. > Come on, if the concern is being able to determine the users environment, there are very well understood ways to handle this. Just have QEMU log all of the configuration parameters to some log file upon startup like so many other applications do. If people don't like using environmental variables, I can accept that. Let's not pretend though that the reason is that we're protecting the end users :-) Regards, Anthony Liguori > Paul >