From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NYKmF-00044G-MX for qemu-devel@nongnu.org; Fri, 22 Jan 2010 09:46:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NYKmA-00040C-63 for qemu-devel@nongnu.org; Fri, 22 Jan 2010 09:46:22 -0500 Received: from [199.232.76.173] (port=45484 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYKm9-000401-Sl for qemu-devel@nongnu.org; Fri, 22 Jan 2010 09:46:17 -0500 Received: from e33.co.us.ibm.com ([32.97.110.151]:47463) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NYKm9-0000Jg-G9 for qemu-devel@nongnu.org; Fri, 22 Jan 2010 09:46:17 -0500 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e33.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id o0MEgxIr021579 for ; Fri, 22 Jan 2010 07:42:59 -0700 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o0MEjwqf181128 for ; Fri, 22 Jan 2010 07:46:04 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o0MEivct025744 for ; Fri, 22 Jan 2010 07:44:57 -0700 Message-ID: <4B59B9E8.3010202@linux.vnet.ibm.com> Date: Fri, 22 Jan 2010 08:44:56 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <1264099733-29666-1-git-send-email-aliguori@us.ibm.com> <1264099733-29666-5-git-send-email-aliguori@us.ibm.com> <4B598535.40005@redhat.com> In-Reply-To: <4B598535.40005@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 4/4] Allow default network type to be overridden List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: John Cooper , qemu-devel@nongnu.org On 01/22/2010 05:00 AM, Gerd Hoffmann wrote: > On 01/21/10 19:48, Anthony Liguori wrote: >> Introduce a default option to the network device which specifies that >> this is >> a default network device. This approach should generalize to any >> other device. > >> The meaning of a default device is as follows: a default device is >> added to a >> machine IIF defaults aren't disable (via -default or -nodefaults) and a >> non-default device of this type hasn't been added. > > I don't like the idea to have two different mechanisms for configuring > defaults ([default] section + default = "on"). I'd suggest to pick > one and apply it everythere. I agree that it's awkward. Need to think a bit about it. Regards, Anthony Liguori > cheers, > Gerd >