From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EuGWu-0007Pm-Mo for qemu-devel@nongnu.org; Wed, 04 Jan 2006 16:50:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EuGWs-0007PU-G0 for qemu-devel@nongnu.org; Wed, 04 Jan 2006 16:50:48 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuGWs-0007PR-CD for qemu-devel@nongnu.org; Wed, 04 Jan 2006 16:50:46 -0500 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EuGYL-0007BI-4K for qemu-devel@nongnu.org; Wed, 04 Jan 2006 16:52:17 -0500 Date: Wed, 4 Jan 2006 16:48:43 -0500 From: "Jim C. Brown" Subject: Re: [Qemu-devel] qemu and configuration file? Message-ID: <20060104214842.GA22633@jbrown.mylinuxbox.org> References: <200512312120.43014.bepi@adria.it> <200601032249.41640.bepi@adria.it> <200601032202.56682.paul@codesourcery.com> <43BAFA68.9060100@zipman.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43BAFA68.9060100@zipman.it> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Flavio Visentin Cc: qemu-devel@nongnu.org On Tue, Jan 03, 2006 at 11:27:52PM +0100, Flavio Visentin wrote: > Paul Brook wrote: > > Config file support without a decent GUI seem rather pointless. > > The big advantage of doing it as a shell script is it's dead easy to hack to > > include whatever custom magical features people want. > > It would be useful for automatic startup of the VMs by init scripts. > OTOH it's very simple to create a config file parser with > perl/python/bash who can wrap around qemu options. > > If I find 1 free hour tomorrow I'll post a POC. > > - -- > Flavio Visentin I wrote one a long time ago called vqemu. It's a simple bash script that gives support for a really primitive style of config file (basically a file full of "qemu parameter"="on/off" or "parameter"="value". All I have to do is type 'vqemu' in the right directory (or call 'vqemu -config file') and I get a VM running with no troubles. If people think this is a good idea I can easily update this to qemu 0.8.0's options. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.