Ticket #4053 (closed defect: obsolete)

Opened 10 years ago

Last modified 3 years ago

GUI: Don't enable VT-x/AMD-V by default if unsupported by the host CPU

Reported by: nanonyme Owned by:
Component: GUI Version: VirtualBox 2.2.2
Keywords: Cc:
Guest type: Windows Host type: Linux


Only socket AM2 versions of AMD64/AMD64 X2 actually have CPU virtualization. I have a socket 939 version and it has none. The virtual machine shows VT-x/AMD-V to be enabled and I can't find any way to disable it since the option is greyed out in the virtual machine configuration. (possibly because I don't actually have it)

Change History

comment:1 Changed 10 years ago by frank

That shouldn't matter. The grayed setting should be disabled in your case but you should be able to start a VM anyway, aren't you?

comment:2 Changed 10 years ago by sandervl73

  • priority changed from major to minor
  • Component changed from VMM to GUI
  • Summary changed from False detection of VT-x/AMD-V to GUI: Don't enable VT-x/AMD-V by default if unsupported by the host CPU

That actually means that you don't have AMD-V. Minor annoyance.

comment:3 Changed 10 years ago by bobpoljakov

Hi, I have a similar problem but with an Intel CPU. I have an Intel Core2Duo T5450. It doesn't support VT, but VirtualBox detects end enables it. I cannot uncheck the checkbox, because it's grayed out. My guest OS (Win 7) starts, but after 2 minutes, seems nothing to be happen, i think it's extremely slow.

CPU reference: This topic says guest OS-es are faster when VT-X is disabled on processors doesn't support it:

VirtualBox version: VirtualBox-2.2.4_47978_fedora11-1.i586

comment:4 Changed 9 years ago by dimitris

I'm having the same problem. The guest had run without issues on a Ubuntu x86-32 host. Later it was moved (the whole .VirtualBox directory was copied) to an Ubuntu x86-64 host that has VT-X support. The guest ran there, also without problems.

Now I've moved .VirtualBox back to the x86-32 machine, and the guest cannot be started. The checkbox for the VT-X option (along with nested paging) is checked and greyed out. When I try to start the guest I get:

Failed to start the virtual machine WinXP_Pro.
VT-x is not available. (VERR_VMX_NO_VMX).
Unknown error creating VM (VERR_VMX_NO_VMX).

comment:5 Changed 9 years ago by dimitris

FWIW, I'm using 3.0.12. I tried to change the machine's XML without progress. There are two <Hardware>/<CPU> tags in it, one under the single <Snapshot> tag and one directly under <Machine>. The one under <Snapshot> was already "correct":

<CPU count="1">
  <HardwareVirtEx enabled="false"/>

The one under <Machine> however looked like this:

<CPU count="2">
  <HardwareVirtEx enabled="true"/>
  <HardwareVirtExNestedPaging enabled="true"/>

However, after changing it to look like the first <CPU> tag, the guest still shows up with VT-X and nested paging enabled and greyed out in the VB window! Where else are these settings stored?

comment:6 Changed 3 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete

Please reopen if this is still a problem with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use