Today it was announced that Microsoft Windows 10 build 10565 includes a more secret functionality. It includes a brief overview of the nested virtualization for Hyper-V. This feature emulates certain hardware capabilities that are required to run in a Hyper-V virtual machine. So you can have a virtual machine in a virtual machine
Here is the official statement that they made:
Hyper-V relies on the support hardware virtualization (eg Intel VT-x and AMD-V) for running virtual machines. Generally, once installed Hyper-V, the hypervisor hides this ability guest virtual machines, preventing virtual guest machines to install Hyper-V (and many other hypervisors, incidentally).
Nestled virtualization exposes the hardware virtualization support host virtual machines. This allows you to install Hyper-V host in a virtual machine, and create more virtual machines within this underlying virtual machine.
is how you can test this functionality and a number of vitrual nested machinery
- Create a virtual machine Hyper-V
- Run activation script as follows :.
Given the configuration requirements. (Eg, dynamic memory is off), Microsoft has tried to make it easier by providing a PowerShell script .
This script will check your configuration, change anything that is incorrect (with permission) and activate the embedded virtualization to a VM. Note that the virtual machine must be turned off.
Invoke-WebRequest https://raw.githubusercontent.com/Microsoft/Virtualization-Documentation/master/hyperv-tools/Nested/Enable-NestedVm.ps1 -outfile ~ / Enable-NestedVm.ps1 ~ / network Enable-NestedVm.ps1 -VmName
- Install Hyper-V guest VM.
- Enable (optional). Once the nested virtualization is enabled in a virtual machine, the MAC spoofing must be enabled for networking to work in his guests. PowerShell run the following command (as administrator) on the host machine.
Set-VMNetworkAdapter -VMName
-MacAddressSpoofing on - Create nested VM
That's it. Microsoft provided more details on this feature in their official website .
0 Komentar