What is Nested Virtualization?

()

Nested virtualization, also known as nested hypervisors, is the ability to run a virtual machine inside another virtual machine. This allows you to create a virtual machine environment within a virtual machine, which can be useful for testing, development, or education.

For example, you could install VMware ESXi on VMware Workstation and then run virtual machines inside of ESXi.

Nested Virtualization Example
Nested Virtualization Example

Nested virtualization is supported by most modern operating systems and hypervisors, but it is important to check the documentation for your specific hardware and software to confirm compatibility.

Nested virtualization can have a negative impact on performance, as virtual machines running inside other virtual machines will require more resources. However, in the right scenarios, nested virtualization can be a valuable tool.

VMware Workstation Hardware Virtualization
VMware Workstation Hardware Virtualization

How to enable Nested Virtualization in VMware vSphere 7/8

  1. Right-click on the virtual machine you want to enable nested virtualization for and select Edit Settings.
  2. In the Virtual Hardware tab, expand the CPU section and enable the Expose hardware assisted virtualization to the guest OS feature.
  3. Click OK to save your changes.
How to enable Nested Virtualization
How to enable Nested Virtualization

Article Rating

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

Leave a Comment