From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] KVM call agenda for Tuesday 3 Date: Mon, 02 Jan 2012 19:14:39 -0600 Message-ID: <4F02567F.6080701@codemonkey.ws> References: <87ehvis3uj.fsf@trasno.mitica> <4F01B542.8000800@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Chris Wright , Developers qemu-devel , KVM devel mailing list , quintela@redhat.com To: Peter Maydell Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:53191 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750990Ab2ACBOo (ORCPT ); Mon, 2 Jan 2012 20:14:44 -0500 Received: by iaeh11 with SMTP id h11so30050040iae.19 for ; Mon, 02 Jan 2012 17:14:44 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 01/02/2012 09:54 AM, Peter Maydell wrote: > On 2 January 2012 13:46, Andreas F=C3=A4rber wrote= : >> * when can we expect to be able to model SoCs rather than CPUs? Will >> this affect command line usage - are we going to have '-device >> ti-tms570' rather than '-cpu cortex-r4' then, or -cpu overriding the >> container's default? > > My initial inclination is to say that specifying the CPU on the > command line is almost always the wrong thing for ARM platforms > (now or in a future QOM world). For instance, if you start the > vexpress-a9 board with something other than -cpu cortex-a9 it won't > complain but it won't do the right thing either (you'll get the > private peripherals for the A9 with whatever CPU core you asked for). > > I don't think you want to have the user specifying -device my-soc > on the command line either -- the user should be selecting a board > (machine) model, which will generally nail down which soc and cpu > are used. Let's separate out what a user *should* do from what a user *can* do. A user *should* have a command line syntax that reflects something that= makes=20 sense to them. For instance, qemu-system-arm --machine beaglebone I don't really care what the SoC or CPU in my beaglebone is. I just wa= nt to=20 emulate one. But I do believe we want to make it possible for -device to create a CP= U even=20 when it doesn't make sense. Regards, Anthony Liguori