From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlKFf-0007dW-GB for qemu-devel@nongnu.org; Mon, 25 Jul 2011 08:27:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlKFe-00082z-8V for qemu-devel@nongnu.org; Mon, 25 Jul 2011 08:27:15 -0400 Received: from thoth.sbs.de ([192.35.17.2]:26918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlKFe-00082d-07 for qemu-devel@nongnu.org; Mon, 25 Jul 2011 08:27:14 -0400 Message-ID: <4E2D6119.4080007@siemens.com> Date: Mon, 25 Jul 2011 14:27:05 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4E2AA4AD.2080608@web.de> <20110725094156.GD21852@amd.home.annexia.org> <4E2D465D.7030502@siemens.com> <20110725104542.GR2532@amd.home.annexia.org> <4E2D5EF8.5000507@siemens.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RESEND][PATCH v3] Generalize -machine command line option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Anthony PERARD , Ian Campbell , Anthony Liguori , "Richard W.M. Jones" , qemu-devel On 2011-07-25 14:22, Peter Maydell wrote: > On 25 July 2011 13:18, Jan Kiszka wrote: >> On 2011-07-25 14:05, Peter Maydell wrote: >>> In fact having thought about it a bit I'm going to go further >>> and say that the whole idea of a "default machine" is a rather >>> x86-centric idea -- most architectures don't really have a >>> single machine type that's used by just about everybody, >>> always has been, and isn't likely to become obsolete in the >>> future. So if we're reworking the command line API to >>> supersede "-M" then we shouldn't have a default at all. >> >> Then you may want to drop is_default = 1 from integratorcp and prepare >> the main loop to face a NULL machine. > > We can't change the default machine for -M, that would break > backwards compatibility. All we can do is avoid having a notion > of "default machine" in new command line syntax. The new syntax can't change is that as we cannot tell apart the omitting of -M from that of -machine. Both will have the semantic "use default machine". Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux