[Android-virt] drive property not set

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

 



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

I've investigated and it turns out that inside:

VirtIODevice *virtio_blk_init(DeviceState *dev, BlockConf *conf, char **serial)

the condition: 

if (!conf->bs) { ? }

is causing an abort. 

My question for you guys is: is there anything obvious incorrect in my command line params, or is this something that ought to be initialized that isn't, and I need to dive into the code. 

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.cs.columbia.edu/pipermail/android-virt/attachments/20120313/f8df7242/attachment-0001.html


[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