VMware vSphere

 View Only
  • 1.  Enable Hyper-V on Windows 2019 VM

    Posted Nov 17, 2020 11:56 AM

    Hi Team,


    I am using VMWare 6.0 with Vsphere client 6.0. How to enable Hyper-V on windows 2019 server VM, also Virtualization Technology and Hardware Enforced Data Execution Prevention needs to be enable din system BIOS ?

    When I run systeminfo on cmd prompt "Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed." displayed at the bottom does this means Hyper-V is not supported ?



  • 2.  RE: Enable Hyper-V on Windows 2019 VM

    Posted Nov 17, 2020 01:47 PM

    To run VMs inside an ESXi VM, check the "Expose hardware virtualization to the guest OS" in the CPU setting of the VM. This adds the line

    vhv.enable = "TRUE"

    to the vmx configuration file.

    That is the ESXi VM equivalent of enabling Intel VT-x on a physical server.

    For the Hardware Enforced Data Execution Prevention", this is the XD (Execute Disable) in the system BIOS of the physical server. It might be called DEP or XD or something else so check the manual of the physical server.



  • 3.  RE: Enable Hyper-V on Windows 2019 VM

    Posted Nov 17, 2020 05:37 PM

    Thanks for the reply.

    If we have only "Expose hardware virtualization to the guest OS" option should be sufficient to run Linux container on windows 2019 vm ?

    Do we need have "Hardware Enforced Data Execution Prevention" option as well ?



  • 4.  RE: Enable Hyper-V on Windows 2019 VM

    Posted Nov 17, 2020 11:36 PM

    There is no equivalent setting in the VM settings for DEP/XD. You just to need to make sure that it is enabled at the physical machine. In some physical machines, there is an option to enable/disable the XD/DEP/NX in the BIOS/UEFI.

    You can confirm that that the DEP is available by looking at the vmware.log. You should see

    <timestamp>| vmx| I005: Capability Found: cpuid.nx = 1