Re: Booting Android with KVM-ARM kernel on QEMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexander, when I try running your kernel and qemu on the arndale board I get the following errors

kvm [2374]: load/store instruction decoding not implemented
error: kvm run failed Function not implemented
Aborted

If I try it locally on my x86 machine it just freezes with no output.


On Fri, Apr 19, 2013 at 3:35 AM, Alexander Spyridakis <a.spyridakis@xxxxxxxxxxxxxxxxxxxxxx> wrote:
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.

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm

[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux