Page 2 of 2

Re: ERROR: VT-X is not avaiable

Posted: 1. Jan 2010, 05:44
by nickggr
Hello everyone,
I am new here and had the same issue with Virtualbox.
Just editing the XML file did not work for me. Every time I opened Virtualbox the XML file was overwritten again, enabling the Hardware Virtualization option.

According to this link you not only have to edit the file, but they say that you need to lock the file before running Virtualbox again. I followed their suggestion and it worked. I thought that it might help you.

Re: ERROR: VT-X is not avaiable

Posted: 19. Jan 2010, 11:58
by pvgorp
I get the "no vt-x" available error" (VERR_VMX_NO_VMX) on Ubuntu 8.10 (kernel 2.6.28-17-generic) on an Intel Q9650 with VT-X enabled in the BIOS (3 checkboxes enabled).

According to http://ark.intel.com/Product.aspx?id=35428, VT-X should however be available for that processor. I already recompiled the VirtualBox kernel modules (sudo /etc/init.d/vboxdrv setup) but that doesn't solve the problem. Obviously, I also restarted VirtualBox. Bypassing the VirtualBox GUI (using VBoxManage ... --cpus) does not help either.

The reason that I'm trying to enable VT-X is that I want to use more than one processor core for my VMs...

Is there any other level (Ubuntu host OS perhaps?) where I should enable some property before VT-X becomes available to VirtualBox?

Looking forward to your reply, thanks in advance,
Pieter Van Gorp

Re: ERROR: VT-X is not avaiable

Posted: 19. Jan 2010, 12:06
by pvgorp
I just notice that this is an OS X related subsection of the forum. I am very sorry if my message is therefore off- :oops: topic.

Please let me know if I should repost, or (admin) please feel free to move the message to another subsection...

Regards,
Pieter

Re: ERROR: VT-X is not avaiable

Posted: 19. Jan 2010, 12:06
by vbox4me2
Did you try the vt-x tricks from the FAQ? sometimes vt-x bios options don't always mean vt-x gets enabled, ea. 2 out of 3 enabled=vt-x on or something in that order.

Re: ERROR: VT-X is not avaiable

Posted: 19. Jan 2010, 12:34
by pvgorp
OMG... didn't know about the need to unplug the power cord etc...

Will try those hints with our sysadmin now...

Thanks for the pointer to http://forums.virtualbox.org/viewtopic.php?t=8669

Sincerely,
Pieter

Re: ERROR: VT-X is not avaiable

Posted: 19. Jan 2010, 13:15
by pvgorp
Solved: now we have only the first option for hardware virtualization enabled in the BIOS.

The other 2 (related to I/O stuff) are disabled. Otherwise, it wouldn't work.

Thanks for pointing out and best regards,
Pieter

Re: ERROR: VT-X is not avaiable

Posted: 15. May 2011, 21:38
by albatroz
I am using version 4.0.6 of Virtualbox on a t5800 core2duo HP Pavillion laptop and I am getting the same error.
After looking into the XML file mentioned I found that the format of the XML file seems different as you can see below:

<Hardware version="2">
<CPU count="1" hotplug="false">
<HardwareVirtEx enabled="false" exclusive="false"/>
<HardwareVirtExNestedPaging enabled="true"/>
<HardwareVirtExVPID enabled="true"/>
<PAE enabled="true"/>
<HardwareVirtExLargePages enabled="false"/>
<HardwareVirtForce enabled="false"/>
</CPU>

¿Any ideas?

Re: ERROR: VT-X is not avaiable

Posted: 15. May 2011, 23:19
by Perryg
t5800 core2duo does not support hardware-virtualization (VT-x)
http://ark.intel.com/Product.aspx?id=35581

Re: ERROR: VT-X is not avaiable

Posted: 11. Aug 2011, 16:26
by nicpaillard
The location of the file has changed under OSX.

It now resides in ~/user/VirtualBox VMs/

The file is no longer called XXXXX.xml but XXXXX.vbox. In all respect, it's a xml file and you can still edit it with Textedit.

The right settings that worked for me are:

Code: Select all

      <CPU count="1" hotplug="false">
        <HardwareVirtEx enabled="false" exclusive="false"/>
        <HardwareVirtExNestedPaging enabled="false"/>
        <HardwareVirtExVPID enabled="false"/>
        <PAE enabled="false"/>
        <HardwareVirtExLargePages enabled="false"/>
        <HardwareVirtForce enabled="false"/>
      </CPU>
I hope that helps someone.

Re: ERROR: VT-X is not available

Posted: 23. Aug 2011, 08:26
by nmiller
Rather than editing the <VMname>.vbox file with a text editor, you can just issue the following command in a Terminal after shutting down VirtualBox:

Code: Select all

VBoxManage modifyvm <VMname> --hwvirtex off
HTH--
=N=

Re: ERROR: VT-X is not avaiable

Posted: 31. Aug 2013, 06:01
by the_oracle
Realize this thread is old..but for anybody googling forums for a solution as i was, something worth noting = If virtual memory for the machine is set to anything higher than 3584 MB, you will receive this error when trying to boot 32-bit software. :oops: