Red Hat Bugzilla – Bug 516116
virt-manager error caused by connect_cdrom() : unsupported driver name 'file'
Last modified: 2009-09-14 12:04:30 EDT
create a vm attaching a livecd iso as the insall media
do not attach any storage.
Try to boot.
Turn it off.
go to vm->details->Disk vda
clicked the 'disconnect' button
choose the same file you just disconnected.
try to start the vm
get this error
Error starting domain: internal error unsupported driver name 'file' for disk '/var/lib/libvirt/images/Fedora-11-x86_64-Live.iso
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 567, in run_domain
File "/usr/share/virt-manager/virtManager/domain.py", line 652, in startup
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 293, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error unsupported driver name 'file' for disk '/var/lib/libvirt/images/Fedora-11-x86_64-Live.iso'
Could you include ~/.virt-manager/virt-manager.log and
Created attachment 357071 [details]
The guest.log is empty.
Here's the interesting bit:
<disk type="file" device="cdrom">
<driver name="file" type=""/>
<target dev="vda" bus="virtio"/>
it should be name="qemu", not name="file"
The code causing the problem was introduced in:
Need to consider the Xen implications when fixing
*** Bug 520171 has been marked as a duplicate of this bug. ***
I'm seeing this here as well, any idea when a fix might land?
virt-install doesn't seem to have this issue.
*** Bug 522307 has been marked as a duplicate of this bug. ***
Fixed in virt-manager-0.8.0-3.fc12