Re: [Qemu-devel] [PATCH] uninit drive if drive_init failed

2011-02-16 Thread Wen Congyang
At 02/16/2011 05:45 PM, Markus Armbruster Write: > Wen Congyang writes: > >> steps to reproduce this bug: >> 1. virsh attach-disk domain --source imagefile --target sdb --sourcetype >> file --driver qemu --subdriver qcow2 >> error: Failed to attach disk >> error: operation failed: adding >> scs

Re: [Qemu-devel] [PATCH] uninit drive if drive_init failed

2011-02-16 Thread Markus Armbruster
Wen Congyang writes: > steps to reproduce this bug: > 1. virsh attach-disk domain --source imagefile --target sdb --sourcetype file > --driver qemu --subdriver qcow2 > error: Failed to attach disk > error: operation failed: adding > scsi-disk,bus=scsi0.0,scsi-id=1,drive=drive-scsi0-0-1,id=scsi0

[Qemu-devel] [PATCH] uninit drive if drive_init failed

2011-02-15 Thread Wen Congyang
steps to reproduce this bug: 1. virsh attach-disk domain --source imagefile --target sdb --sourcetype file --driver qemu --subdriver qcow2 error: Failed to attach disk error: operation failed: adding scsi-disk,bus=scsi0.0,scsi-id=1,drive=drive-scsi0-0-1,id=scsi0-0-1 device failed: Property 'scsi