From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTRmm-0004EF-6f for qemu-devel@nongnu.org; Wed, 10 Feb 2016 05:14:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTRmg-0006VM-Js for qemu-devel@nongnu.org; Wed, 10 Feb 2016 05:14:12 -0500 Received: from mail-vk0-x230.google.com ([2607:f8b0:400c:c05::230]:33672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTRmg-0006VI-F6 for qemu-devel@nongnu.org; Wed, 10 Feb 2016 05:14:06 -0500 Received: by mail-vk0-x230.google.com with SMTP id k196so9915246vka.0 for ; Wed, 10 Feb 2016 02:14:06 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Peter Maydell Date: Wed, 10 Feb 2016 10:13:46 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] Regarding Cortex-A7 CPU definition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Deepak kumar Raju Cc: QEMU Developers On 10 February 2016 at 05:25, Deepak kumar Raju wrote: > Regarding the questions, we have hw board which has Cortex-A7, so we thought > we have to go with A7 emulation. we were not very sure A15 emulation will be > almost equivalent to A7 emulation. > All we want to do is A7 emulation but now I am understanding that A15 > emulation should similar to A7 emulation. please correct me. If you want to emulate the whole hardware board in QEMU, then adding the A7 CPU emulation is the right thing (and not very hard compared to doing the whole hardware model). If you don't care about emulating the hardware because you're going to run (say) a Linux kernel on one of QEMU's existing models and you mostly care about userspace, then using the A15 will be fine -- the two CPUs are basically identical for that purpose, and Linux supports both. If you're running QEMU to use KVM on the ARM hardware, then you want "-cpu host", which means "use the best CPU type that the kernel can provide" and works on A7 and A15 hosts. thanks -- PMM