From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJI4V-0007SN-Gg for qemu-devel@nongnu.org; Fri, 28 Feb 2014 02:41:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJI4O-0004uQ-6r for qemu-devel@nongnu.org; Fri, 28 Feb 2014 02:41:27 -0500 Received: from mail-bn1blp0190.outbound.protection.outlook.com ([207.46.163.190]:42373 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJI4O-0004r4-1Z for qemu-devel@nongnu.org; Fri, 28 Feb 2014 02:41:20 -0500 From: "Chalamarla, Tirumalesh" Date: Fri, 28 Feb 2014 07:08:16 +0000 Message-ID: <90d26803e7524ec6b6508d00d7b4557d@BLUPR07MB195.namprd07.prod.outlook.com> Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_90d26803e7524ec6b6508d00d7b4557dBLUPR07MB195namprd07pro_" MIME-Version: 1.0 Subject: [Qemu-devel] QEMU on ARM64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" Cc: "Chalamarla, Tirumalesh" --_000_90d26803e7524ec6b6508d00d7b4557dBLUPR07MB195namprd07pro_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Is there any one, trying out cross compiling and running qemu= on aarch64 host. if so is there a development branch where this wrok is pr= ogressing. Some one could please let me know the plan/time frame, for q= emu on arm64 hosts running arm64 guests. Regards, Tirumalesh Chalamarla --_000_90d26803e7524ec6b6508d00d7b4557dBLUPR07MB195namprd07pro_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,


              Is there any one, tryin= g out cross compiling and running qemu on aarch64 host. if so is there a de= velopment branch where this wrok is progressing.

         

               Some one cou= ld please let me know the plan/time frame, for qemu on arm64 hosts running = arm64 guests. 


Regards,
Tirumalesh Chalamarla
--_000_90d26803e7524ec6b6508d00d7b4557dBLUPR07MB195namprd07pro_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJXnL-0005aA-Cm for qemu-devel@nongnu.org; Fri, 28 Feb 2014 19:28:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJXnH-0005qx-3V for qemu-devel@nongnu.org; Fri, 28 Feb 2014 19:28:47 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:39103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJXnG-0005qr-Sl for qemu-devel@nongnu.org; Fri, 28 Feb 2014 19:28:43 -0500 Received: by mail-lb0-f169.google.com with SMTP id l4so2343129lbv.14 for ; Fri, 28 Feb 2014 16:28:41 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <90d26803e7524ec6b6508d00d7b4557d@BLUPR07MB195.namprd07.prod.outlook.com> References: <90d26803e7524ec6b6508d00d7b4557d@BLUPR07MB195.namprd07.prod.outlook.com> From: Peter Maydell Date: Sat, 1 Mar 2014 00:28:21 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] QEMU on ARM64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Chalamarla, Tirumalesh" Cc: "qemu-devel@nongnu.org" On 28 February 2014 07:08, Chalamarla, Tirumalesh wrote: > Is there any one, trying out cross compiling and running qemu > on aarch64 host. if so is there a development branch where this wrok is > progressing. > > Some one could please let me know the plan/time frame, for > qemu on arm64 hosts running arm64 guests. It's not entirely clear which of the various possible QEMU aarch64 setups you're interested in. Summary: (1) using QEMU on aarch64 hosts to emulate other CPU architectures (eg x86, MIPS): this went into QEMU about six months ago and was in the last release of QEMU (1.7) (2) using QEMU on aarch64 hosts as the userspace component of a VM using KVM kernel support to run an aarch64 guest: this should work with current QEMU, though some functionality (for instance, migration) is not yet implemented (3) using QEMU to emulate individual Linux AArch64 binaries, running on any host (typically x86): this works in current upstream master, but some instructions (parts of SIMD) are not yet implemented. I hope we'll get the SIMD coverage completed within the next few weeks, in time to put it into QEMU 2.0. (4) using QEMU to emulate an entire AArch64 system that can boot a guest kernel, typically running on an x86 host: we're working on this right now; we have work-in-progress code which will boot a kernel and are working on cleaning it up to upstream quality. I expect we'll have this done within a month or two, but it won't make it into the QEMU 2.0 release (slightly too late). I'm guessing you're interested in (2) or maybe (1). For (2), kvmarm@lists.cs.columbia.edu is a good list to follow to monitor what's currently going on. thanks -- PMM From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJXzU-0001so-Dk for qemu-devel@nongnu.org; Fri, 28 Feb 2014 19:41:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJXzK-0000ze-SX for qemu-devel@nongnu.org; Fri, 28 Feb 2014 19:41:20 -0500 Received: from mail-pd0-x229.google.com ([2607:f8b0:400e:c02::229]:65263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJXzK-0000zS-KZ for qemu-devel@nongnu.org; Fri, 28 Feb 2014 19:41:10 -0500 Received: by mail-pd0-f169.google.com with SMTP id fp1so1412659pdb.28 for ; Fri, 28 Feb 2014 16:41:09 -0800 (PST) Message-ID: <53112C9E.6030908@gmail.com> Date: Sat, 01 Mar 2014 08:41:02 +0800 From: Xuebing wang MIME-Version: 1.0 References: <90d26803e7524ec6b6508d00d7b4557d@BLUPR07MB195.namprd07.prod.outlook.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] QEMU on ARM64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , "Chalamarla, Tirumalesh" Cc: "qemu-devel@nongnu.org" On 03/01/2014 08:28 AM, Peter Maydell wrote: > (4) using QEMU to emulate an entire AArch64 system that can boot a > guest kernel, typically running on an x86 host: we're working on this > right now; we have work-in-progress code which will boot a kernel and > are working on cleaning it up to upstream quality. I expect we'll have > this done within a month or two, but it won't make it into the QEMU > 2.0 release (slightly too late). Hi Peter, Would you please point to me where can I get this work-in-progress code? -- Thanks, Xuebing Wang From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJY48-0004JD-E0 for qemu-devel@nongnu.org; Fri, 28 Feb 2014 19:46:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJY42-0002Iw-Ed for qemu-devel@nongnu.org; Fri, 28 Feb 2014 19:46:08 -0500 Received: from mail-la0-f42.google.com ([209.85.215.42]:38100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJY42-0002Io-7X for qemu-devel@nongnu.org; Fri, 28 Feb 2014 19:46:02 -0500 Received: by mail-la0-f42.google.com with SMTP id ec20so3217193lab.15 for ; Fri, 28 Feb 2014 16:46:01 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <53112C9E.6030908@gmail.com> References: <90d26803e7524ec6b6508d00d7b4557d@BLUPR07MB195.namprd07.prod.outlook.com> <53112C9E.6030908@gmail.com> From: Peter Maydell Date: Sat, 1 Mar 2014 00:45:40 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] QEMU on ARM64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xuebing wang Cc: "Chalamarla, Tirumalesh" , "qemu-devel@nongnu.org" On 1 March 2014 00:41, Xuebing wang wrote: > On 03/01/2014 08:28 AM, Peter Maydell wrote: >> >> (4) using QEMU to emulate an entire AArch64 system that can boot a guest >> kernel, typically running on an x86 host: we're working on this right now; >> we have work-in-progress code which will boot a kernel and are working on >> cleaning it up to upstream quality. I expect we'll have this done within a >> month or two, but it won't make it into the QEMU 2.0 release (slightly too >> late). > Would you please point to me where can I get this work-in-progress code? Not really publicly available yet (that's what I mean by work-in-progress). The stuff that's ready for public consumption has been posted on the mailing list. You can actually find something that will boot code in my a64-system branch; however since that is my working branch it will change a lot and may or may not work at any given point. thanks -- PMM From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJbfY-00016u-1h for qemu-devel@nongnu.org; Fri, 28 Feb 2014 23:37:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJbfT-0006qs-Ab for qemu-devel@nongnu.org; Fri, 28 Feb 2014 23:36:59 -0500 Received: from mail-bn14138.inbound.protection.outlook.com ([207.46.163.138]:44151 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJbfT-0006px-1R for qemu-devel@nongnu.org; Fri, 28 Feb 2014 23:36:55 -0500 From: "Chalamarla, Tirumalesh" Date: Sat, 1 Mar 2014 04:36:50 +0000 Message-ID: <03E265EF-D87F-4CFA-9A01-36140FBA7F13@caviumnetworks.com> References: <90d26803e7524ec6b6508d00d7b4557d@BLUPR07MB195.namprd07.prod.outlook.com> In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: <41328C399CA568449DEF9A5448EF32B7@namprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] QEMU on ARM64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: "Chalamarla, Tirumalesh" , "qemu-devel@nongnu.org" Hi Peter, Thanks for the reply, yes i am interested in (2). i will follow up on = the suggested mailing list. Just in case if you know, does the gicv3 support available in QEMU, or = there is a plan.=20 Regards, Tirumaqlesh. On 01-Mar-2014, at 5:58 am, Peter Maydell wrote: > On 28 February 2014 07:08, Chalamarla, Tirumalesh > wrote: >> Is there any one, trying out cross compiling and running qe= mu >> on aarch64 host. if so is there a development branch where this wrok is >> progressing. >>=20 >> Some one could please let me know the plan/time frame, for >> qemu on arm64 hosts running arm64 guests. >=20 > It's not entirely clear which of the various possible QEMU aarch64 > setups you're interested in. Summary: >=20 > (1) using QEMU on aarch64 hosts to emulate other CPU architectures > (eg x86, MIPS): this went into QEMU about six months ago and was > in the last release of QEMU (1.7) >=20 > (2) using QEMU on aarch64 hosts as the userspace component > of a VM using KVM kernel support to run an aarch64 guest: this > should work with current QEMU, though some functionality (for > instance, migration) is not yet implemented >=20 > (3) using QEMU to emulate individual Linux AArch64 binaries, running > on any host (typically x86): this works in current upstream master, but > some instructions (parts of SIMD) are not yet implemented. I hope > we'll get the SIMD coverage completed within the next few weeks, > in time to put it into QEMU 2.0. >=20 > (4) using QEMU to emulate an entire AArch64 system that can > boot a guest kernel, typically running on an x86 host: we're > working on this right now; we have work-in-progress code which > will boot a kernel and are working on cleaning it up to upstream > quality. I expect we'll have this done within a month or two, but > it won't make it into the QEMU 2.0 release (slightly too late). >=20 > I'm guessing you're interested in (2) or maybe (1). For (2), > kvmarm@lists.cs.columbia.edu is a good list to follow to > monitor what's currently going on. >=20 > thanks > -- PMM From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJhNf-0003Hj-Ne for qemu-devel@nongnu.org; Sat, 01 Mar 2014 05:43:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJhNa-0006GC-OK for qemu-devel@nongnu.org; Sat, 01 Mar 2014 05:42:55 -0500 Received: from mail-la0-f42.google.com ([209.85.215.42]:41793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJhNa-0006G1-H1 for qemu-devel@nongnu.org; Sat, 01 Mar 2014 05:42:50 -0500 Received: by mail-la0-f42.google.com with SMTP id ec20so3467822lab.29 for ; Sat, 01 Mar 2014 02:42:49 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <03E265EF-D87F-4CFA-9A01-36140FBA7F13@caviumnetworks.com> References: <90d26803e7524ec6b6508d00d7b4557d@BLUPR07MB195.namprd07.prod.outlook.com> <03E265EF-D87F-4CFA-9A01-36140FBA7F13@caviumnetworks.com> From: Peter Maydell Date: Sat, 1 Mar 2014 10:42:28 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] QEMU on ARM64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Chalamarla, Tirumalesh" Cc: "qemu-devel@nongnu.org" On 1 March 2014 04:36, Chalamarla, Tirumalesh wrote: > Hi Peter, > > Thanks for the reply, yes i am interested in (2). i will follow up on the suggested mailing list. > > Just in case if you know, does the gicv3 support available in QEMU, or there is a plan. QEMU doesn't implement a GICv3 emulation; the kernel can use a hardware GICv3 to provide the guest with a virtual GICv2 (not sure what stage of development this is in; I see GICv3 patches go by but don't generally know the status right now). I'd suggest asking on kvm-arm; the GIC and kernel experts tend to hang out there, not here. thanks -- PMM