From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtAGC-00079b-QN for qemu-devel@nongnu.org; Wed, 18 Dec 2013 01:05:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtAG5-0003Uz-7e for qemu-devel@nongnu.org; Wed, 18 Dec 2013 01:05:32 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:42783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtAG4-0003Uv-Ua for qemu-devel@nongnu.org; Wed, 18 Dec 2013 01:05:25 -0500 Received: by mail-pd0-f175.google.com with SMTP id w10so7795372pde.20 for ; Tue, 17 Dec 2013 22:05:23 -0800 (PST) Date: Tue, 17 Dec 2013 22:05:20 -0800 From: Christoffer Dall Message-ID: <20131218060520.GO5711@cbox> References: <1387282522-11280-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1387282522-11280-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH v2 0/7] target-arm: Support AArch64 KVM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: kvmarm@lists.cs.columbia.edu, qemu-devel@nongnu.org, patches@linaro.org On Tue, Dec 17, 2013 at 12:15:15PM +0000, Peter Maydell wrote: > This patchset adds support for basic AArch64 KVM VM control; > it's based on current master. This is a quick resend with the very > minor nits Christoffer pointed out fixed; I'm planning to put it into > a target-arm pullreq in the next day or two. > > This patch series supports: > * 64 bit KVM VM control > * SMP and UP > * PSCI boot of secondary CPUs > It doesn't support: > * migration > * reset (partly because there's no way to reset a mach-virt system yet) > * anything except "-cpu host" > * debugging the VM via qemu gdbstub > * running 32 bit VMs on a 64 bit system > [Mian's patchset includes support for that but I have left it out > for the moment because it needs more thought about UI and so on] I finally managed to test this on the foundation model. I verified the following works: - virtio-block - virtio-net - ssh/shell environemnt in guest - apache in guest (tested with apachebench - the model is slow) - gcc in guest - hackbench in guest (the model is slow) - php in guest - python in guest -Christoffer > > Changes v1->v2: > * improved a couple of comments > * compat string for 64 bit is "arm,arm-v8", not -v7 > * removed superfluous include of usb.mak and pci.mak from config > > Mian M. Hamayun (2): > target-arm: Add minimal KVM AArch64 support > hw/arm/boot: Add boot support for AArch64 processor > > Peter Maydell (5): > target-arm/kvm: Split 32 bit only code into its own file > target-arm: Clean up handling of AArch64 PSTATE > configure: Enable KVM for aarch64 host/target combination > hw/arm/boot: Allow easier swapping in of different loader code > default-configs: Add config for aarch64-softmmu > > configure | 2 +- > default-configs/aarch64-softmmu.mak | 6 + > hw/arm/boot.c | 193 ++++++++++---- > linux-user/signal.c | 6 +- > target-arm/Makefile.objs | 2 + > target-arm/cpu.c | 6 + > target-arm/cpu.h | 70 ++++- > target-arm/gdbstub64.c | 4 +- > target-arm/kvm.c | 495 +--------------------------------- > target-arm/kvm32.c | 515 ++++++++++++++++++++++++++++++++++++ > target-arm/kvm64.c | 204 ++++++++++++++ > target-arm/translate-a64.c | 12 +- > 12 files changed, 954 insertions(+), 561 deletions(-) > create mode 100644 default-configs/aarch64-softmmu.mak > create mode 100644 target-arm/kvm32.c > create mode 100644 target-arm/kvm64.c > > -- > 1.8.5 > -- Christoffer