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 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm