Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MF7wC-0007MT-2X for qemu-devel@nongnu.org; Fri, 12 Jun 2009 10:41:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MF7w7-0007Ek-4v for qemu-devel@nongnu.org; Fri, 12 Jun 2009 10:40:59 -0400 Received: from [199.232.76.173] (port=60394 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MF7w6-0007EM-KL for qemu-devel@nongnu.org; Fri, 12 Jun 2009 10:40:54 -0400 Received: from mx2.redhat.com ([66.187.237.31]:53753) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MF7w6-0002ie-F6 for qemu-devel@nongnu.org; Fri, 12 Jun 2009 10:40:54 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5CEerZO009082 for ; Fri, 12 Jun 2009 10:40:53 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5CEeqX5031478 for ; Fri, 12 Jun 2009 10:40:53 -0400 Received: from pike.pond.sub.org (vpn-10-124.str.redhat.com [10.32.10.124]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5CEeogJ016962 for ; Fri, 12 Jun 2009 10:40:51 -0400 Subject: Re: [Qemu-devel] [PATCH 0/4] Machine config files References: <20090610173803.4674.82538.stgit@wren.home> <4A30FE41.1040907@redhat.com> <200906111418.43669.paul@codesourcery.com> <4A3208F7.4030806@kevin-wolf.de> <87vdn11rzy.fsf@pike.pond.sub.org> <4A326498.90801@kevin-wolf.de> From: Markus Armbruster Date: Fri, 12 Jun 2009 16:40:50 +0200 In-Reply-To: <4A326498.90801@kevin-wolf.de> (Kevin Wolf's message of "Fri\, 12 Jun 2009 16\:22\:16 +0200") Message-ID: <87hbylzf9p.fsf@pike.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Kevin Wolf writes: > Markus Armbruster schrieb: >> Kevin Wolf writes: >> >>> Paul Brook schrieb: >>>> On Thursday 11 June 2009, Gerd Hoffmann wrote: >>>>> On 06/10/09 19:38, Paul Brook wrote: >>>>>> The following series implements machine config files, and adds converts >>>>>> some of the existing hardcoded machines. >>>>> Hmm. The converted machine types have a pretty static configuration, >>>>> i.e. where you don't need to specify more that just "-M type" on the >>>>> command line. >>>>> >>>>> What is the plan for machines which can be configured in alot of >>>>> different ways such as a typical PC? Where you can configure lots of >>>>> details such as cpu, memory, nic, disk drives, ... using command line >>>>> options? >>>> I don't believe most of these things should be configured by commandline >>>> options. It's only done that way because we don't have any alternative (i.e. a >>>> machine config file). If you really want full control, I expect your VM >>>> manager will generate the machine config for you. >>> >From my perspective as a qemu user, I definitely don't want to miss the >>> command line options. Not having to create configuration files is >>> exactly what gave me the "just works" feeling when I started using qemu. >>> And I really don't plan to use management tools in future. >> >> I understand where you come from. For me, configuration files are fine. > > Don't get me wrong, I'm not against configuration files. Having them is > great and probably I'd even find some uses for them occasionally. I just > don't want to be _forced_ to use them which I fear is what Paul is > talking about. > >> What I don't want is having to copy a lengthy configuration file just to >> add a device. Because that leads to zillions of copies with little >> differences here and there, and much diffing and merging on upgrade. > > Sure, couldn't agree more, but this is a different story. The solution It is a different story, and I consider both stories valid. > for my problem is to retain command line options, the solution for your > problem is some mechanism to have a config that adds devices to an > existing base config (or changes options, removes devices, whatever). > > Probably my command line switches would use the same mechanism > internally, but I don't really care. I'm just a random qemu user in this > discussion. ;-) Yes, it would be nice if monitor commands, command line options and configuration file directives to add devices were all frontends to the same code.