only one machine when running VT-x?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ToddAndMargo
Posts: 306
Joined: 6. Aug 2007, 02:24

only one machine when running VT-x?

Post by ToddAndMargo »

Hi All,

Base: CentOS 5.2
VM: VBox 2.1.2

I have my XP VM set to use VT-x. My other, I do not.

When I try to run one of the others when XP is running, VBOX refuses, giving me an error messages about only one VT-x at a time.

Is there a way around this? Do I have to turn off my VT-x in XP? (Will that be much slower?)

Many thanks,
-T
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

C'mon Todd. Exact error message, please! It's very difficult trying to tracks this sort of thing down. For example, if you want to check the source, most grep tools don't offer an option --psychic="error messages about only one VT-x at a time" :lol:
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
ToddAndMargo
Posts: 306
Joined: 6. Aug 2007, 02:24

Post by ToddAndMargo »

TerryE wrote:C'mon Todd. Exact error message, please! ... most grep tools don't offer an option --psychic="error messages about only one VT-x at a time" :lol:
Just tested, they all will fire up, if I turn VT-x on. Just one on and one off is giving a problem.

-T

With XP (VB-WinXP) running (VT-x enabled), starting w7 (VB-W7beta) with VT-x disabled gives:

Code: Select all

echo "Start VB-W7beta" | Psychic --dumbdumb forgoterrormessageoption

An active VM already uses Intel VT-x hardware acceleration. It is not allowed to simultaneously use software virtualization.
(VERR_ACCESS_DENIED).
Unknown error creating VM (VERR_ACCESS_DENIED).

Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
Console
Interface: 
IConsole {e3c6d4a1-a935-47ca-b16d-f9e9c496e53e}
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

That is the whole issue. If you have one VM with VT-x on, all others need to have it enabled. This is in the manual too, you can't have both options (software and hardware virtualisation) at the same time.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Thanks Tod. As Sasquatch says, a functional limitation of VBox is that the VM monitor (VMM) can only run in one of two modes S/W or H/W assist. It can't run two VMs, one of each, at the same time.

My recommendation is that if you have a recent VT-x enabled CPU then you use H/W enabled for all of your VMs. At worst it runs no slower and in many cases runs a lot better (say the VM overhead is 5% rather than 7%, which in thoughput terms isn't a lot).
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply