Ce contenu n'est pas disponible dans la langue sélectionnée.

10.5. Using KVM virtio Drivers for New Devices


This procedure covers creating new devices using the KVM virtio drivers with virt-manager.
Alternatively, the virsh attach-disk or virsh attach-interface commands can be used to attach devices using the virtio drivers.

Important

Ensure the drivers have been installed on the Windows guest before proceeding to install new devices. If the drivers are unavailable the device will not be recognized and will not work.

Procedure 10.5. Adding a storage device using the virtio storage driver

  1. Open the guest virtual machine by double clicking on the name of the guest in virt-manager.
  2. Open the Show virtual hardware details tab by clicking the lightbulb button.

    Figure 10.27. The Show virtual hardware details tab

  3. In the Show virtual hardware details tab, click on the Add Hardware button.
  4. Select hardware type

    Select Storage as the Hardware type.

    Figure 10.28. The Add new virtual hardware wizard

  5. Select the storage device and driver

    Create a new disk image or select a storage pool volume.
    Set the Device type to Virtio disk to use the virtio drivers.

    Figure 10.29. The Add new virtual hardware wizard

    Click Finish to complete the procedure.

Procedure 10.6. Adding a network device using the virtio network driver

  1. Open the guest virtual machine by double clicking on the name of the guest in virt-manager.
  2. Open the Show virtual hardware details tab by clicking the lightbulb button.

    Figure 10.30. The Show virtual hardware details tab

  3. In the Show virtual hardware details tab, click on the Add Hardware button.
  4. Select hardware type

    Select Network as the Hardware type.

    Figure 10.31. The Add new virtual hardware wizard

  5. Select the network device and driver

    Set the Device model to virtio to use the virtio drivers. Choose the desired Host device.

    Figure 10.32. The Add new virtual hardware wizard

    Click Finish to complete the procedure.
Once all new devices are added, reboot the virtual machine. Windows virtual machines may not recognize the devices until the guest is rebooted.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat