|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 4/5] Add generic drive hotplugging |
Date: | Mon, 23 Aug 2010 17:50:20 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |