From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My96R-0002lU-S2 for qemu-devel@nongnu.org; Wed, 14 Oct 2009 15:01:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My96N-0002iV-1V for qemu-devel@nongnu.org; Wed, 14 Oct 2009 15:01:38 -0400 Received: from [199.232.76.173] (port=58228 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My96M-0002iO-GL for qemu-devel@nongnu.org; Wed, 14 Oct 2009 15:01:34 -0400 Received: from fg-out-1718.google.com ([72.14.220.157]:63668) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My96L-0007eH-V3 for qemu-devel@nongnu.org; Wed, 14 Oct 2009 15:01:34 -0400 Received: by fg-out-1718.google.com with SMTP id 22so1183250fge.10 for ; Wed, 14 Oct 2009 12:01:33 -0700 (PDT) Message-ID: <4AD62006.4080008@codemonkey.ws> Date: Wed, 14 Oct 2009 14:01:26 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/4] QemuOpts: config file support. References: <1255509568-10635-1-git-send-email-kraxel@redhat.com> In-Reply-To: <1255509568-10635-1-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org Gerd Hoffmann wrote: > Hi, > > Very first cut of config file support, to get the discussion rolling ;) > > We might use this some day to provide defaults for vga, nic, serial etc. > Also host-wide defaults (network setup for example) should be doable. > Just needs some careful planning which config files to read in which > cases and in which order ;) > What I really want to do, which I don't think is possibly in right now, is: [net "default"] type=tap script=/etc/qemu-ifup-bridge In /etc/qemurc to globally change from slirp default to tap default. Of course, why stop there, we should install an /etc/qemurc by default with: [net "default"] type=user host=10.0.1.2 net=10.0.1.0/24 dhcpstart=10.0.1.10 dns=10.0.1.2 And completely get rid of any baked in defaults. Regards, Anthony Liguori