Outils pour utilisateurs

Outils du site


tech:notes_nested_virtualization

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:notes_nested_virtualization [2025/05/15 12:06] Jean-Baptistetech:notes_nested_virtualization [2025/05/15 12:10] (Version actuelle) Jean-Baptiste
Ligne 3: Ligne 3:
  
 # Notes nested virtualization # Notes nested virtualization
 +
 +## prereq
 +
 +Source : https://gist.github.com/plembo/782e1511e463221b5772e85b6f2f72d4#file-nestedvirtkvm-md
 +
 +1. Make sure that the Intel-VT-x/AMD-V extensions are enabled in the host machine's BIOS.
 +For Intel:
 +
 +~~~bash
 +grep vmx /proc/cpuinfo
 +~~~
 +
 +For AMD:
 +
 +~~~bash
 +grep svm /proc/cpuinfo
 +~~~
 +
 +2. Check to see if /etc/modprobe.d/qemu-system-x86.conf exists and if it does not have the following line, add it
 +and reboot:
 +
 +~~~bash
 +options kvm_intel nested=1
 +~~~
 +
 +3. Go into the graphical virt-manager, open the subject guest's config, and click on "CPUs".
 +
 +4. Check the box "Copy host CPU configuration" and Apply.
 +
 +5. Restart the virtual machine, open a terminal in it and check for the extensions:
 +
 +~~~bash
 +grep vmx /proc/cpuinfo
 +~~~
 +
 +
 +
 +
 +-----------------
  
 Source : https://docs.fedoraproject.org/en-US/quick-docs/using-nested-virtualization-in-kvm/ Source : https://docs.fedoraproject.org/en-US/quick-docs/using-nested-virtualization-in-kvm/
tech/notes_nested_virtualization.1747303591.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki