Ce contenu n'est pas disponible dans la langue sélectionnée.
Appendix A. Using virsh to mount a CD-ROM image on an inactive domain
This appendix describes a process which allows users to mount CD-ROM images on inactive domains.
Procedure A.1. Mounting CD-ROM images with virsh on inactive domains
- Create an XML configuration file for your guest, replacing guestname with your guest domains name and windowsguest.xml:
virsh dumpxml guestname windowsguest.xml
# virsh dumpxml guestname windowsguest.xmlCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Add the following entry under the devices tag in the XML configuration file (
windowsguest.xmlin this example). You must change thesource file=parameter to the location of the drivers .iso file and adjust thedev=parameter if you already have ahdbentry.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Recreate the guest with the updated configuration file
virsh define windowsguest.xml
# virsh define windowsguest.xmlCopy to Clipboard Copied! Toggle word wrap Toggle overflow - The guest now has a CD-ROM device containing the para-virtualized drivers once rebooted.
- Once the Windows guest has booted, open and you should see the Red Hat Para-virtualized drivers disk. Click on the disk to continue the installation.