On 08/06/2011 01:38 PM, Christoffer Dall wrote:
The following series implements KVM support for ARM processors, specifically on the Cortex A-15 platform. The patch series applies to the arm-lpae branch of ARM Ltd's kernel tree. This is Version 4 of the patch series, but the first two versions were reviewed outside of the KVM mailing list. Changes can also be pulled from: git://git.ncl.cs.columbia.edu/pub/git/linux-kvm-arm kvm-a15-v4 The implementation is broken up into a logical set of patches, the first one containing a skeleton of files, makefile changes, the basic user space interface and KVM architecture specific stubs. Subsequent patches implement parts of the system as listed: 1. Skeleton 2. Identity Mapping for Hyp mode 3. Hypervisor intitalization 4. Hyp mode memory mappings and 2nd stage preparation 5. World-switch implementation and Hyp exception vectors 6. Emulation framework and CP15 emulation 7. Handle guest user memory aborts 8. Handle guest MMIO aborts 9. Handle userspace IRQ/FIQ injection 10. Support guest wait-for-interrupt instructions. Testing: Limited testing, but have run GCC inside guest, which compiled a small hellow-world program, which was successfully run. Hardware still unavailable, so all testing has been done on ARM Fast Models. For a guide on how to set up a testing environment and try out these patches, see: http://wiki.ncl.cs.columbia.edu/wiki/KVMARM:Guides:Development_Environment
Pretty nice, and once again I congratulate you for not having to virtualize x86.
I don't know how close you feel you are to merging, but from my point of view things are looking good. We'll need to coordinate trees and acks since this is touching more than just arch/arm/kvm.
arch/arm/kvm/arm.c | 701 +++++++++++++++++++++++++++ arch/arm/kvm/arm_emulate.c | 604 +++++++++++++++++++++++ arch/arm/kvm/arm_exports.c | 26 + arch/arm/kvm/arm_guest.c | 150 ++++++ arch/arm/kvm/arm_init.S | 115 ++++ arch/arm/kvm/arm_interrupts.S | 488 +++++++++++++++++++ arch/arm/kvm/arm_mmu.c | 549 +++++++++++++++++++++
Suggest eliminating the arm_ prefixes. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html