[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Using virtio-mmio
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Using virtio-mmio |
Date: |
Wed, 31 Jul 2013 23:01:11 +0100 |
On 31 July 2013 22:56, Richard W.M. Jones <address@hidden> wrote:
> It's quite exciting the virtio-mmio made it into qemu. Are extra
> guest kernel components needed too? (I'm using 3.9.9-302.fc19.armv7hl
> but could try a later kernel)
I think you're OK there, the support's been in the kernel for
much longer than it's been in QEMU.
> Anyway, I tried to get it to work, but can't quite work out the qemu
> command line. So far I have:
>
> $ ~/d/qemu/arm-softmmu/qemu-system-arm -M vexpress-a15 -cpu cortex-a15 \
> -nographic -kernel kernel -initrd initrd \
> -drive file=root,if=virtio \
> -append "root=/dev/vda"
> qemu-system-arm: -drive file=root,if=virtio: No 'PCI' bus found for device
> 'virtio-blk-pci'
You need to specify things longhand with the virtio-blk-device etc
devices, because the shortcuts all assume virtio is PCI. So in
this case:
-drive if=none,file=root,id=foo \
-device virtio-blk-device,drive=foo
-- PMM