All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Error while running android as guest ---FastModels
       [not found] <CAJ30i6EVdXvbg=42iZ3dZb8ASnpDFvm5ZUUPhjLw8oNk057JQw@mail.gmail.com>
@ 2013-06-05 19:11   ` Christoffer Dall
  0 siblings, 0 replies; 2+ messages in thread
From: Christoffer Dall @ 2013-06-05 19:11 UTC (permalink / raw)
  To: Mai Daftedar
  Cc: Alexander Spyridakis, KVM General, kvmarm, Christoffer Dall,
	linux-arm-kernel

On Wed, Jun 05, 2013 at 08:31:13PM +0200, Mai Daftedar wrote:
> Dear All,
> 
> After following the "Android on Fast Models" pdf. I managed to successfully
> run android as the host and when running the following command to run
> android as a guest:
> 
> ./qemu-system-arm \
> -vnc :0 \
> -k en-us \
> -enable-kvm \
> -serial stdio \
> -kernel zImage \
> -m 512 -M vexpress-a15 -cpu cortex-a15 \
> -drive file=./android.img,id=virtio-blk,if=none \
> -device virtio-blk,drive=virtio-blk,transport=virtio-mmio.0 \
> -append "virtio_mmio.device=1M@0x4e000000:74:0 init=/init
> console=ttyAMA0 mem=512M root=/dev/vda rw"
> 
> The following errors appear:
> 
> *device virtio-blk, drive=virtio-blk, transport=virtio-mmio.0: No 'PCI' bus
> found for device "virtio-blk-pci"*
> 
> Any suggestions on what I am missing out
> 

Sounds like you're using the wrong version of QEMU.  For virtio to work
you need to use the rather old kvm-arm-virtio branch in my tree (it may
be replicated elsewhere too).

There is ongoing work to get this support updated to newer QEMU
implementations.

-Christoffer

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Error while running android as guest ---FastModels
@ 2013-06-05 19:11   ` Christoffer Dall
  0 siblings, 0 replies; 2+ messages in thread
From: Christoffer Dall @ 2013-06-05 19:11 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Jun 05, 2013 at 08:31:13PM +0200, Mai Daftedar wrote:
> Dear All,
> 
> After following the "Android on Fast Models" pdf. I managed to successfully
> run android as the host and when running the following command to run
> android as a guest:
> 
> ./qemu-system-arm \
> -vnc :0 \
> -k en-us \
> -enable-kvm \
> -serial stdio \
> -kernel zImage \
> -m 512 -M vexpress-a15 -cpu cortex-a15 \
> -drive file=./android.img,id=virtio-blk,if=none \
> -device virtio-blk,drive=virtio-blk,transport=virtio-mmio.0 \
> -append "virtio_mmio.device=1M at 0x4e000000:74:0 init=/init
> console=ttyAMA0 mem=512M root=/dev/vda rw"
> 
> The following errors appear:
> 
> *device virtio-blk, drive=virtio-blk, transport=virtio-mmio.0: No 'PCI' bus
> found for device "virtio-blk-pci"*
> 
> Any suggestions on what I am missing out
> 

Sounds like you're using the wrong version of QEMU.  For virtio to work
you need to use the rather old kvm-arm-virtio branch in my tree (it may
be replicated elsewhere too).

There is ongoing work to get this support updated to newer QEMU
implementations.

-Christoffer

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-05 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAJ30i6EVdXvbg=42iZ3dZb8ASnpDFvm5ZUUPhjLw8oNk057JQw@mail.gmail.com>
2013-06-05 19:11 ` Error while running android as guest ---FastModels Christoffer Dall
2013-06-05 19:11   ` Christoffer Dall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.