On 08/23/2010 05:45 PM, Alexander Graf wrote:
Device_add already works with this set and only required minor changes the s390
specific code. So that part was pretty slick :). The part that didn't work was
the drive_add one.
What is blockdev_add supposed to be? drive_add without IF_SCSI?
drive_add without if= and without the PCI-isms.
To be a bit more precise on how things work with this set:
(qemu) drive_add 0 id=my_disk,if=none,file=/dev/null
OK
In theory, something like:
(qemu) blockdev_add id=my_disk,file=/dev/null
Regards,
Anthony Liguori
(qemu) device_add virtio-blk-s390,drive=my_disk,id=new_disk
gives me a working new virtio disk in the VM that's mapped to /dev/null :).
Alex