From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9IgX-0003ih-4E for qemu-devel@nongnu.org; Thu, 19 Jun 2008 07:52:13 -0400 Received: from [199.232.76.173] (port=52591 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9IgV-0003hO-5N for qemu-devel@nongnu.org; Thu, 19 Jun 2008 07:52:11 -0400 Received: from mx1.polytechnique.org ([129.104.30.34]:57469) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K9IgU-0005jl-1x for qemu-devel@nongnu.org; Thu, 19 Jun 2008 07:52:10 -0400 Message-ID: <485A4863.6020906@bellard.org> Date: Thu, 19 Jun 2008 13:52:03 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] QEMU configuration files References: <48595024.7050400@bellard.org> <20080619114035.GD11255@redhat.com> In-Reply-To: <20080619114035.GD11255@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org 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. Fabrice.