linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: christoffer.dall@linaro.org (Christoffer Dall)
To: linux-arm-kernel@lists.infradead.org
Subject: Error while running android as guest ---FastModels
Date: Wed, 5 Jun 2013 12:11:39 -0700	[thread overview]
Message-ID: <20130605191139.GA9640@ubuntu> (raw)
In-Reply-To: <CAJ30i6EVdXvbg=42iZ3dZb8ASnpDFvm5ZUUPhjLw8oNk057JQw@mail.gmail.com>

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

           reply	other threads:[~2013-06-05 19:11 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAJ30i6EVdXvbg=42iZ3dZb8ASnpDFvm5ZUUPhjLw8oNk057JQw@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130605191139.GA9640@ubuntu \
    --to=christoffer.dall@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).