If it is an iso switch /dev/sr0 with the path of the iso. If it is the actual drive you want to pass, i always though you need vtd and iommu enable in bios and kernel parameter. Besides, if cdrom passthrough does work, then I would assume it will be considered a hotplug if the vm is running. I only have one physical cdrom drive, I'm not sure if I can mount the 2nd on at hdd etc. – Dana the Sane May 31 '10 at 23:22 so you have the Windows installer CD saved on your system as two iso files?? This is not good news.
. To assign the device to a physical medium, enter the path to the VM Host Server's CD/DVD-ROM device (for example, /dev/cdrom) next to the Browse button. Alternatively you may use the Browse button to open a file browser and then click Browse Local to select the device. Assigning the device to a physical medium is only possible when the Virtual Machine Manager was started on the VM Host Server. To assign the device to an existing image, click Browse to choose an image from a storage pool.
If the Virtual Machine Manager was started on the VM Host Server, you may alternatively choose an image from another location on the file system by clicking Browse Local. Select an image and close the file browser with Choose Volume. Proceed with Forward to review the settings. Apply them with Finish, Yes, and Apply. Reboot the VM Guest to make the new device available. For further information also see.
![Virsh Mount Cdrom Iso Virsh Mount Cdrom Iso](http://docs.huihoo.com/redhat/rhel6/en-US/html-single/Virtualization/images/RHEL6_finish_advanced.png)
Asked: I am looking for a way to mount an ISO as a cd rom, according to libvirt docs (referenced below) it should be possible, additionally in the question referenced below. I am aware of, however its 4 years+ old and never actually came to any working conclusion. I have taken the example from: I am unable to get this to work, I simply get: Boot failed: Could not read from CDROM (code 0003) Actual XML in use snippet: libvirtd (libvirt) 3.9.0 QEMU emulator version 2.10.0 Is anyone able to offer any assistance or tips?
I have tried putting the complete path including fqdn in the urlpath as well, with and without My answer. I tried to run one of these to an existing VM in my existing libvirt 4.1.0 system: The XML failed to validate. Error: XML document failed to validate against schema: Unable to validate doc against /usr/share/libvirt/schemas/domain.rng Extra element devices in interleave Element domain failed to validate content My suspicion is that someone wrote these examples long ago, thinking that this functionality might eventually be added, but it never actually was. The qemu man page also gives no hint that such functionality might exist.
I think you’re just looking at a documentation error. This work is licensed under a.