From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9LFl-0005oK-Jy for qemu-devel@nongnu.org; Thu, 19 Jun 2008 10:36:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9LFj-0005ng-SP for qemu-devel@nongnu.org; Thu, 19 Jun 2008 10:36:45 -0400 Received: from [199.232.76.173] (port=34768 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9LFj-0005na-N3 for qemu-devel@nongnu.org; Thu, 19 Jun 2008 10:36:43 -0400 Received: from mx1.redhat.com ([66.187.233.31]:52054) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9LFj-0002QH-9w for qemu-devel@nongnu.org; Thu, 19 Jun 2008 10:36:43 -0400 Date: Thu, 19 Jun 2008 15:36:28 +0100 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] QEMU configuration files Message-ID: <20080619143628.GA4696@redhat.com> References: <48595024.7050400@bellard.org> <20080619114035.GD11255@redhat.com> <485A4863.6020906@bellard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <485A4863.6020906@bellard.org> Reply-To: "Daniel P. Berrange" , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fabrice Bellard Cc: qemu-devel@nongnu.org On Thu, Jun 19, 2008 at 01:52:03PM +0200, Fabrice Bellard wrote: > Daniel P. Berrange wrote: > >On Wed, Jun 18, 2008 at 08:12:52PM +0200, Fabrice Bellard wrote: > >>Hi, > >> > >>My snapshot of the "object based" QEMU configuration system can be found > >>at http://bellard.org/qemu/patches . I only tried it for x86 targets. It > >>is not yet in committable state and comments are welcome ! > >> > >>General ideas: > >> > >>- User preferences and machine definitions are separated. User > >>preferences are in ~/.qemu/config for Unix systems. Machine definitions > >>can override user preferences but I believe it should be the exception. > > > >I'd like the ability to explicitly not use any user preferences at > >all, rather than having to override each individual setting. This > >would make it easier for me to invoke QEMU from libvirt with a predictable > >configuration that I can guarnetee to be identical on any host regardless > >of how a user my have their preferences setup. > > OK. > > >It could also be useful to be able to specify a alternative preferences > >file instead of the default $HOME/.qemu/config > > Right. I plan to reserve '-f' for that and to use another option (or > none depending on the file extension) to specify the machine description. AH, with that I could use 'qemu -f /dev/zero' to stop the user preferences being loaded I imagine. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|