ESXi

 View Only
  • 1.  Set Virtualization features on VMs

    Posted Feb 24, 2012 11:47 AM

    Hello guys,

    I have a ESXi 4.1 based on DL380G6 for testing environment. I have to test KVM so I installed a CentOS VM to fill my needs.

    Checking the /proc/cpuinfo seem that virtualization features in not set for the VM, how can I set the ability to build nested VMs.

    Thanks & regards



  • 2.  RE: Set Virtualization features on VMs

    Posted Feb 24, 2012 11:54 AM

    Hi,

    VMware now has a setting  that provides you control over the number of cores per CPU in a virtual  machine.

    To implement this  feature:
    1. Power off the virtual  machine.
    2. Right-click on the virtual  machine and click Edit Settings.
    3. Click  Hardware and select CPUs.
    4. Choose the number of  virtual processors.
    5. Click the  Options tab.
    6. Click General, in the  Advanced options section.
    7. Click  Configuration Parameters.
    8. Include cpuid.coresPerSocket in the Name column.
    9. Enter a value (try 2, 4,  or 8) in the Value column.

      Note: Ensure that  the number of vCPUs is divisible by the number of  cpuid.coresPerSocket in the virtual machine. That is,  when you divide the number of vCPUs by the number of cpuid.coresPerSocket, it must return an integer value.  For example, if your virtual machine is created  with 8 vCPUs, coresPerSocket can only be 1, 2, 4, or  8.
      The virtual machine now appears to the operating system as having  multi-core CPUs with the number of cores per CPU given by the value that you  provided in step 9.

    10. Click  OK.
    11. Power on the virtual  machine


  • 3.  RE: Set Virtualization features on VMs

    Posted Feb 24, 2012 12:43 PM

    Hi Umesh,

    thank you for the fast answer, I applied your suggestion but nothing seem to be changed. Probably I have not explained in a right way my problem.

    I need to create a VM (CentOS) that have to host other VM using KVM.

    Running "virt-manager" I get the following error:

    Error polling connection 'qemu:///system': internal error Cannot find suitable emulator for x86_64

    running egrep ‘(vmx|svm)’ /proc/cpuinfo command no output is returned, so I suspect that Intel-VT features for the VM in not enabled.

    I also configure the VM to start running the BIOS tool at the startup but the option to enable virtualization is not present.

    Thanks & Regards



  • 4.  RE: Set Virtualization features on VMs

    Posted Feb 24, 2012 12:58 PM

    On ESXi 5 it should work like this - How to Enable Support for Nested 64bit & Hyper-V VMs in vSphere 5 but on ESXi 4 :smileysad: take a look at http://communities.vmware.com/thread/333373



  • 5.  RE: Set Virtualization features on VMs

    Posted Feb 24, 2012 01:10 PM

    Thanks to all for the help,

    ESXi doesn't support this feature. I will have to upgrade my ESXi host.

    Regards



  • 6.  RE: Set Virtualization features on VMs

    Posted Feb 24, 2012 01:03 PM