Numéro d’article: 000132088
What is nested virtualization?
Nested virtualization refers to virtualizing a virtual environment. In other words, it's the ability of a virtual machine to host another virtual machine within itself. Starting with Microsoft Windows Server 2016, support for nested virtualization is enabled in the Hyper-V layer of Windows operating system. As an advancement for the same, third party virtualization is introduced in Windows Server 2019. Click Here to get a brief introduction about nested virtualization.
What is third party nested virtualization?
Windows supports operating systems like Windows Server 2012 R2, Windows Server 2016 and also Linux distributions such as Red Hat Enterprise Linux, Suse Linux Enterprise Server, Fedora etc… as guest operating system within a VM. With the nested virtualization feature enabled in Windows Server 2016, we can enable the Hyper-V layer on the guest windows VMs. But nested VMs were supported on only Windows guest OS. Starting with Windows Server 2019, nested virtualization can be enabled on even the Linux VMs with the help of third party virtualization layers like QEMU. This enables customers to deploy and/or use a wider set of applications.
Third party Nested Virtualization in Windows Server 2019
Enabling Third party Nested Virtualization in Windows Server 2019:
Below are the detailed steps to enable nested virtualization on Linux VMs and also on how to use QEMU to create a nested VM:
Example: This example uses Dell R640 server in UEFI mode with 'Virtualization technology' of the Processor (BIOS Settings -> Processor Settings) enabled as shown below.
Set-VMProcessor -VMName -ExposeVirtualizationExtensions $true
"Get-VMNetworkAdapter -VMname vm_name | Set-VMNetworkAdapter -MacAddressSpoofing On"
"yum install -y qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer"
Where,
Use Cases of nested virtualization:
Microsoft Windows Server 2019
21 févr. 2021
3
Solution