Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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

  1. Create an XML configuration file for your guest, replacing guestname with your guest domains name and windowsguest.xml:
    # virsh dumpxml guestname windowsguest.xml
    Copy to Clipboard Toggle word wrap
  2. Add the following entry under the devices tag in the XML configuration file (windowsguest.xml in this example). You must change the source file= parameter to the location of the drivers .iso file and adjust the dev= parameter if you already have a hdb entry.
    <disk type='file' device='cdrom'>
      <driver name='file'/>
      <source file='/usr/share/xenpv-win-32bit/xenpv-win-32bit.iso'/>
      <target dev='hdb'/>
      <readonly/>
    </disk>
    
    Copy to Clipboard Toggle word wrap
  3. Recreate the guest with the updated configuration file
    # virsh define windowsguest.xml
    
    Copy to Clipboard Toggle word wrap
  4. The guest now has a CD-ROM device containing the para-virtualized drivers once rebooted.
  5. Once the Windows guest has booted, open My Computer and you should see the Red Hat Para-virtualized drivers disk. Click on the disk to continue the installation.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2026 Red Hat