Problem With Cdrom Device On Guest

Home » CentOS-Virt » Problem With Cdrom Device On Guest
CentOS-Virt No Comments

I have a kvm guest running MS-WinV7 on a CentOS-6.5 host. The WinV7 guest was installed from a CD. It installed correctly and was updated and added to an MS Active Domain without difficulty. I was able to do work on it through the virt-manager console and I was able to shut the system down from the console without problem.

I cannot get it to restart however.

virsh start brws-ms-v7-37v.brockley.harte-lyne.ca error: Failed to start domain brws-ms-v7-37v.brockley.harte-lyne.ca error: cannot open file ‘/dev/sr0’: No medium found

I found this bugzilla report.

https://bugzilla.redhat.com/show_bug.cgi?idp9585

Which is curiously marked as CLOSED DEFERRED.

The last comment in that bug contains this:

Now, in my configuration files there is no ‘format’ attribute found in any tag. I find ‘type=raw’ inside of many tags but it seems strange to me that a RedHat bug report would use such imprecise language so as to confuse the attribute ‘type’ with one named ‘format’ so I wonder if a syntax change has occurred and if that has introduced a regression?

virsh edit brws-ms-v7-37v.brockley.harte-lyne.ca show this configuration entry for device sr0:

30
31
3233
34
35

36

Despite the inference I draw from the bug report, that format ~= type, one cannot in fact change the driver attribute ‘type’ to any value other than raw. Any attempt to do so results in this message:

unsupported configuration: unknown driver format value ‘host_cdrom’
Failed. Try again? [y,n,f,?]:

Further, the value ‘f’ is not permitted so one cannot forcibly save the configuration to determine if in fact it might work.

Has anyone else run into this? What is the fix?