Re: [PATCH] protect the scsi controller to be deleted when it is in use

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

 



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 <wency@xxxxxxxxxxxxxx>
> 
> ACK, this looks like a good idea.

Pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]