From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NI2f1-0007j8-CH for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:11:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NI2ex-0007ge-W0 for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:11:35 -0500 Received: from [199.232.76.173] (port=60804 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI2ex-0007gZ-HY for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:11:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51029) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NI2ex-00010m-1l for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:11:31 -0500 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB8GBUNV011432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Dec 2009 11:11:30 -0500 Date: Tue, 8 Dec 2009 11:11:29 -0500 (EST) From: Paolo Bonzini Message-ID: <1862782368.1376061260288689974.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> In-Reply-To: <1236361906.1375741260288537008.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> Subject: Re: [Qemu-devel] Re: [FOR 0.12 PATCH v3 10/21] default devices: add global cmd line option. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org > > > 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. It's not really about usefulness in other words; it's more whether you think it fits in -{read,write}config's design or not. Paolo