From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NI2zL-00011f-EA for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:32:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NI2zF-0000st-OT for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:32:34 -0500 Received: from [199.232.76.173] (port=45853 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI2zF-0000sd-Hq for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:32:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52881) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NI2zF-0004XF-33 for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:32:29 -0500 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB8GWPc6017596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Dec 2009 11:32:26 -0500 Date: Tue, 8 Dec 2009 16:32:23 +0000 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] Re: [FOR 0.12 PATCH v3 10/21] default devices: add global cmd line option. Message-ID: <20091208163223.GK16596@redhat.com> References: <1236361906.1375741260288537008.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> <1862782368.1376061260288689974.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1862782368.1376061260288689974.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> Reply-To: "Daniel P. Berrange" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Gerd Hoffmann , qemu-devel@nongnu.org On Tue, Dec 08, 2009 at 11:11:29AM -0500, Paolo Bonzini wrote: > > > > Add global command line option to disable default devices. > > > > > > Should -readconfig imply this? > > > > Hmm, not sure. Why do you think this would be useful? > > Here is my thinking: if you used -writeconfig, your machine description > is (at least in theory) entirely included in the config file including > (again in theory) the default devices. So, if the machine description > has no parallel port, QEMU should not create a default one when you load > it with -readconfig. Shouldn't -writeconfig just add '-nodefaults' to the config it generates ? That way if someone instead creates a configfile by hand, copying in their existing QEMU args they still get default devices which matches behaviour of their existing CLI args. Regards, 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 :|