VMware

Can VMs enabled in Vsphere have virtualization enabled? I wanted to run KVM on a VM on Vsphere.

Can VMs enabled in Vsphere have virtualization enabled? I wanted to run KVM on a VM on Vsphere.



View Reddit by kalavala93View Source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

16 Comments

  1. This is possible, i’ve done it in this exact scenario. On the VM you’re running KVM on power down the VM. Then go to edit. Under your CPU settings (where you’d specify the number of CPU’s). There is an option called “Hardware Virtualization” which says “Expose hardware assisted virtualization to the guest OS”. Enable that option. Power on the VM and you’re good to go.

  2. Yeah, but there’s a limit to the recursion you can accomplish by doing so. I think somewhere around three levels deep it starts to get wonky as hell. Not relevant to your question, but worth keeping in mind should you go down that rabbit hole.

  3. This is def possible. The setting you’re looking for is in the virtual machine settings. Expand cpu and voila.

    My only advice when doing nested virtualization, make sure your nic is set to allow promiscuous mode. Other wise your network traffic might not reach your physical lab.

    Enjoy!

  4. Yes, but it can become a headache when you try to scale and network it. However, you can easily run containers (Docker/Kubernetes) in a VM. Other than for a learning experience, nested virtualization isn’t super useful. For SURE do not use it in production! lol

Leave a Reply