How to enable nested virtualization in KVM: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Die Seite wurde neu angelegt: „*https://docs.fedoraproject.org/en-US/quick-docs/using-nested-virtualization-in-kvm/“
 
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
=Testen ob KVM nested Modul aktiv ist=
==Intel==
*cat /sys/module/kvm_intel/parameters/nested
==AMD==
*cat /sys/module/kvm_amd/parameters/nested
;Wenn 1 oder Y erscheint ist alles gut
=Wenn nicht=
==Intel==
*echo 'options kvm_intel nested=1' >> /etc/modprobe.d/qemu-system-x86.conf
==AMD==
*echo 'options kvm_amd nested=1' >> /etc/modprobe.d/qemu-system-x86.conf
=Rebooten=
*reboot
=Danach Maschine modifizieren=
*virsh edit debian
<cpu mode='host-passthrough'>
oder im VMM
=Links=
*https://www.server-world.info/en/note?os=Debian_10&p=kvm&f=8
*https://docs.fedoraproject.org/en-US/quick-docs/using-nested-virtualization-in-kvm/
*https://docs.fedoraproject.org/en-US/quick-docs/using-nested-virtualization-in-kvm/

Aktuelle Version vom 24. Juni 2021, 16:34 Uhr

Testen ob KVM nested Modul aktiv ist

Intel

  • cat /sys/module/kvm_intel/parameters/nested

AMD

  • cat /sys/module/kvm_amd/parameters/nested
Wenn 1 oder Y erscheint ist alles gut

Wenn nicht

Intel

  • echo 'options kvm_intel nested=1' >> /etc/modprobe.d/qemu-system-x86.conf

AMD

  • echo 'options kvm_amd nested=1' >> /etc/modprobe.d/qemu-system-x86.conf

Rebooten

  • reboot

Danach Maschine modifizieren

  • virsh edit debian
<cpu mode='host-passthrough'>

oder im VMM

Links