Longmode is disabled for this virtual machine – VMware vSphere

Share Button

A TechHead reader recently experienced the following message in VMware vSphere (ESXi) when trying to start a 64-bit VM (Windows 2008 R2) running on their HP Proliant ML110 G5: “This virtual machine is configured for 64-bit guest operating systems”, “However, 64-bit operation is not possible.”, “Longmode is disabled for this virtual machine.”.  This is an error that can often crop up especially when dealing with nested VMs or when deploying new ESXi hosts. The typical reason for this message is typically:

  • The additional virtualization related extensions on the CPU haven’t been enabled in the BIOS.  These extensions in the BIOS aren’t always turned on by default, although they are in most modern servers.  If the CPU(s) in your server does have the virtualization extensions though you suspect they are simply just not enabled, reboot the server, enter the BIOS, enable the extensions (the location in the BIOS will generally differ between server brands), save the BIOS settings and then reboot the server.  For Intel based processors there are the Intel VT-x virtualization extensions and for AMD processors, AMD-V.  For more in depth information on these virtualization related CPU extensions check out this article here.

OR

  • The CPU(s) in your server don’t have the virtualization extensions available on the CPU, although almost all modern CPUs these days come with them.

OR

  • If you are trying to run nested VMs (ie: running a VM inside another VM) then you will likely need to configure a couple of extra parameters.  An example of a nested VM is running a W2K8 R2 VM on a virtualized ESXi 5 host or perhaps on VMware Workstation or Fusion).  Luckily setting these parameters is quite straight forward and there is a very useful VMware article here that takes you through how and what to set.

Longmode is disabled for this virtual machine

 

Share Button
About Simon Seagrave

Simon is a UK based Virtualization & IT Technology Evangelist working as a Senior Technology Consultant and vSpecialist for EMC. He loves working in the ever changing IT industry & spends most of his time working with Virtualisation, Cloud & other Enterprise IT based technologies, in particular VMware, EMC and HP products.

  • tom miller

    Simon,
    Wonder if something else is going on here. Had the same issue: http://communities.vmware.com/message/1984484#1984484 My response is buckmaster at the bottom of the thread. In my case I had been running for a long time on vSphere 5 with a lot of 64 bit VM’s. I did a orderly shutdown of my infrastructure to replace a UPS battery. Powered everything up, 1 of my 2 host came up with VT Tech turned off? Still have no idea why? I knew something was wrong because my auto start 64 bit VM domain controller had the error message in your post. Checking my physical host bios sure enough VT Tech was off? I don’t understand why when it had been running fine for a long time.

    By the way, curious, if you ever had time to run vCenter DB maint? I’d be interested in your results.

    Thanks as always – Tom Miller

  • Phantom

    Thanks Simon, you’re the best ;-)