24 August 2020

Proxmox Nested Virtualization

 How to install qemu in a proxmox guest.

(Baremetal has proxmox, guest will has qemu(to install another guest on top of qemu)

Qemu/KVM is a hypervisor, same also as proxmox.


1) Enable Nested virtualization on proxmox

a)- check is nested enabled:

cat /sys/module/kvm_intel/parameters/nested
Y  - yes
N - not enabled


b)- if not enable, 
# echo "options kvm-intel nested=Y" > /etc/modprobe.d/kvm-intel.conf

c)- then reboot and reload
modprobe -r kvm_intel
modprobe kvm_intel

then check again if nested succesfully enable (a)




2)- Create a guest(of proxmox) with 'CPU Type': host

a) to verify guest support hardware virtualization:
egrep '(vmx|svm)' --color=always /proc/cpuinfo






ref:  https://pve.proxmox.com/wiki/Nested_Virtualization



No comments:

Post a Comment

Terima kasih