From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqFQk-0008SQ-42 for qemu-devel@nongnu.org; Thu, 07 May 2015 02:37:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqFQf-0000OE-KV for qemu-devel@nongnu.org; Thu, 07 May 2015 02:37:10 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:63227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqFQf-0000NZ-EA for qemu-devel@nongnu.org; Thu, 07 May 2015 02:37:05 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NNY005P2VPOVX60@mailout4.w1.samsung.com> for qemu-devel@nongnu.org; Thu, 07 May 2015 07:37:00 +0100 (BST) From: Pavel Fedin References: <00d901d0880d$d795b750$86c125f0$@samsung.com> <012701d08827$4f771250$ee6536f0$@samsung.com> In-reply-to: Date: Thu, 07 May 2015 09:36:59 +0300 Message-id: <00bc01d08890$3883bc10$a98b3430$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable Content-language: ru Subject: Re: [Qemu-devel] [PATCH] Fix default CPU model for ARM64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Peter Maydell' Cc: 'QEMU Developers' Hello! > Yes. qemu-system-aarch64 -cpu cortex-a15 gets you a 32-bit Cortex-A15. = This is > exactly like the x86 QEMU, where you can emulate all the 32-bit x86 = CPUs in > qemu-system-x86_64. And what is the default in x86_64 ? I believe it's 64-bit CPU, and not = i686, isn't it ? I agree that -cpu cortex-a15 might work with qemu-system-aarch64. But = isn't it expected to get the "native" CPU by default ? This behavior of = qemu causes weird thing with libvirt/virt-manager. I create a VM, = specify "aarch64" as architecture, and set "hypervisor default" as CPU = model. With "hypervisor default" libvirt does not pass any -cpu option = to qemu, leaving it up to the emulator (exactly as expected). So, i = supply 64-bit kernel and rootfs, and nothing works. I have to explicitly = change the CPU to "cortex-a57". Isn't it confusing to have such a = default ? This is even more confusing since currently i don't know any = implementation of aarch64 except A57 and A53 (which are the same from = software point of view). So, i believe, A57 is quite a reasonable = default. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia