From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NI36K-0007kR-VN for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:39:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NI36H-0007if-I1 for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:39:48 -0500 Received: from [199.232.76.173] (port=37026 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI36H-0007iZ-55 for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:39:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:3213) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NI36G-0005KN-PU for qemu-devel@nongnu.org; Tue, 08 Dec 2009 11:39:45 -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 nB8Gdh1Y018742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 8 Dec 2009 11:39:43 -0500 Date: Tue, 8 Dec 2009 11:39:43 -0500 (EST) From: Paolo Bonzini Message-ID: <1530577928.1378661260290383458.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> In-Reply-To: <4B1E7FFB.1000104@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 > > 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. > > The default devices are *not* included by in the file created by > -writeconfig. Yes, that's why I wrote "at least in theory". It doesn't now but that would be a bug, because it makes -nodefaults another legacy option that has to be remembered and passed again upon -readconfig. > Devices created via -readconfig are treated like devices created via > [device] sections in the config file. So it doesn't matter whenever you > configure your isa-serial device via command line or config file, in any > case it will make qemu not create the default serial port. I was thinking about the case when you don't want at all a particular default device. Paolo