[Android-virt] drive property not set

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

 



2012/3/13 Alexander Golec <thejfasi at gmail.com>:
> I've merged in Peter Maydell's virtio-mmio code onto the head, and I'm
> getting the following exchange:
>
> root at qemuarm:~# qemu-system-arm -enable-kvm -M vexpress-a15 -cpu cortex-a9
> -drive file=/arm-wheezy.img,if=virtio -kernel /zImage-guest -nographic
> -append 'root=/dev/mmcblk0 console=ttyAMA0 rootwait earlyprintk debug'
> qemu-system-arm: drive property not set
> qemu-system-arm: Initialization of device virtio-blk-mmio failed

Yeah, you have to manually point the virtio-mmio at the drive with
options like
 "-drive if=none,file=whatever.img,id=myimg -global virtio-blk-mmio.drive=myimg"

I mentioned this in the cover letter for my original RFC patchset
but I forgot to point you at that, sorry. Here it is:
http://lists.nongnu.org/archive/html/qemu-devel/2011-11/msg01870.html

(You don't want '-drive if=virtio' because that will create a PCI
virtio device.)

-- PMM


[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