On 02/21/2011 10:00 AM, Daniel P. Berrange wrote:
> On Mon, Feb 21, 2011 at 03:35:52PM +0800, Wen Congyang wrote:
>> Steps to reproduce this bug:
>> 1. virsh attach-disk domain --source imagefile --target sdb --sourcetype 
>> file --driver qemu --subdriver raw
>> 2. virsh detach-device controller.xml # remove scsi controller 0
>> 3. virsh detach-disk domain sdb
>>    error: Failed to detach disk
>>    error: operation failed: detaching scsi0-0-1 device failed: Device 
>> 'scsi0-0-1' not found
>>
>> I think we should not detach a controller when it is used by some other 
>> device.
>>
>> Signed-off-by: Wen Congyang <[email protected]>
> 
> ACK, this looks like a good idea.

Pushed.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to