On 19 April 2013 04:33, Howard Mao <zhehao.mao@xxxxxxxxx> wrote: > Christoffer and I are attempting to boot an Android image on a Linux 3.9 > kernel with KVM-ARM enabled in QEMU, but on boot we keep getting a kernel > panic complaining about an illegal instruction in init. > > Has anyone seen something like this before when running Android in QEMU? > > We are using the kernel from > https://github.com/columbia/linux-kvm-arm/tree/arndale-kvm-3.9-rc2 > QEMU from https://github.com/columbia/qemu/tree/kvm-arm-virtio > Android from http://source.android.com/source/downloading.html > > This has been tested on an Arndale board with QEMU-KVM and QEMU-TCG and on > an x86_64 machine with QEMU-TCG. All three platforms give the same error. I've been booting Android guests on QEMU/KVM-ARM (and TCG) without any problems, since around last year if I remember correctly. Android guests became stable for me when lazy VFP switching was implemented. My last successful boot for both host and guest (vexpress) uses: Kernel: https://github.com/virtualopensystems/linux-kvm-arm/tree/kvm-vexpress-3.9 QEMU: https://github.com/virtualopensystems/qemu/tree/kvm-arm-virtio-fb-hack Android: I've tried AOSP before, but Linaro builds should also work. See attached kernel config, which should work for both the host and the guest.
Attachment:
config
Description: Binary data
_______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm