Nested Virtualisation

Support Wissensdatenbank

Du bist hier:
Print

Nested Virtualisation

With nested virtualisation you can install another Hyper-V or Proxmox server inside a virtual machine to run additional virtual machines. To use this in Proxmox, KVM_Intel must first be enabled: Check if the kernel module is not loaded:

cat /sys/module/kvm_intel/parameters/nested

Now activate the module For Intel CPU:

echo "options kvm-intel nested=Y" > /etc/modprobe.d/kvm-intel.conf

For AMD CPU:

echo "options kvm-amd nested=1" > /etc/modprobe.d/kvm-amd.conf

Restart the server

Activate the kernel module

modprobe -r kvm_intel
modprobe kvm_intel

Check if the kernel module is loaded and returns Y:

cat /sys/module/kvm_intel/parameters/nested

Set the CPU of the virtual machine to HOST Intel:

args: -cpu host

AMD:

args: -cpu host,+svm

Now install Proxmox on the virtual machine and check if the hardware virtualisation is loaded:

egrep '(vmx|svm)' --color=always /proc/cpuinfo

 

War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post