Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Etu5U-0007Hc-1t for qemu-devel@nongnu.org; Tue, 03 Jan 2006 16:53:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Etu5L-0007Fi-5s for qemu-devel@nongnu.org; Tue, 03 Jan 2006 16:52:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Etu5L-0007Ff-2f for qemu-devel@nongnu.org; Tue, 03 Jan 2006 16:52:51 -0500 Received: from [193.70.192.92] (helo=smtp8.libero.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Etu6c-0006Vn-TJ for qemu-devel@nongnu.org; Tue, 03 Jan 2006 16:54:11 -0500 Received: from localhost (172.16.1.82) by smtp8.libero.it (7.0.027-DD01) id 439D91AB01AE4A38 for qemu-devel@nongnu.org; Tue, 3 Jan 2006 22:51:06 +0100 Received: from smtp2.libero.it ([172.16.1.97]) by localhost (asav3.libero.it [193.70.192.152]) (amavisd-new, port 10024) with ESMTP id 14502-04 for ; Tue, 3 Jan 2006 22:51:06 +0100 (CET) Received: from ppp-105-91.25-151.libero.it (ppp-105-91.25-151.libero.it [151.25.91.105]) by smtp2.libero.it (Postfix) with ESMTP id BA6D4A8C4A for ; Tue, 3 Jan 2006 22:51:05 +0100 (MET) From: Giuseppe Della Bianca Subject: Re: [Qemu-devel] qemu and configuration file? Date: Tue, 3 Jan 2006 22:49:41 +0100 References: <200512312120.43014.bepi@adria.it> In-Reply-To: <200512312120.43014.bepi@adria.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601032249.41640.bepi@adria.it> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi. My idea is this: - qemu start - set up of the hardcode parameters - reading of the configuration file and set up of the parameters - set up of the parameters of command line Example of configuration file: [general] .... [vlan0] ip= x.y.x.w mac= l:m:n:o .... [/vlan0] [/general] [suse.img] .... [vlan3] mac= h:j:k:l .... [/vlan3] [/suse.img] [win.img] .... [vlan2] mac= z:x:c:v .... [/vlan2] [/win.img] Result: - full compatibility with every version of qemu - more flexibility - possibility to set up the hardcode parameters - possibility of parameters personalized for every image One similar thing, with smaller flexibility, is possible without modify qemu and using one series of bash script. Comments are welcomes (at least one "it does not interest to us"). Regards. Gdb