From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlKZg-0001Sj-DE for qemu-devel@nongnu.org; Mon, 25 Jul 2011 08:47:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlKZf-00037q-8K for qemu-devel@nongnu.org; Mon, 25 Jul 2011 08:47:56 -0400 Received: from mail-gx0-f173.google.com ([209.85.161.173]:56332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlKZf-00037e-5s for qemu-devel@nongnu.org; Mon, 25 Jul 2011 08:47:55 -0400 Received: by gxk26 with SMTP id 26so2602625gxk.4 for ; Mon, 25 Jul 2011 05:47:54 -0700 (PDT) Message-ID: <4E2D65F7.3040703@codemonkey.ws> Date: Mon, 25 Jul 2011 07:47:51 -0500 From: Anthony Liguori 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> <955E0A6F-FDA3-4482-8029-D3063C94C8CD@suse.de> In-Reply-To: <955E0A6F-FDA3-4482-8029-D3063C94C8CD@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Alexander Graf Cc: Peter Maydell , Jan Kiszka , qemu-devel , "Richard W.M. Jones" , Ian Campbell , Anthony PERARD On 07/25/2011 07:44 AM, Alexander Graf wrote: > > On 25.07.2011, at 14:05, Peter Maydell wrote: > >> On 25 July 2011 12:48, Peter Maydell wrote: >>> For ARM you absolutely should not be relying on the default >>> machine type (not least because it's an incredibly ancient >>> dev board which nobody uses any more). An ARM kernel is >>> generally fairly specific to the hardware platform being >>> emulated, so you should know which machine you're intending >>> to run on and specify it explicitly. >> >> 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. > > That's not exactly true. For PPC, everyone so far expects a Mac to pop up. Except if you're running on an IBM Power box, then you definitely expect a pseries guest to pop up. We really need to enable the default config file (yes, we have a default config file) can express the default machine. Regards, Anthony Liguori