Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

VT-X/AMD-v Detection... #4709

Closed
daephx opened this issue May 14, 2019 · 2 comments
Closed

VT-X/AMD-v Detection... #4709

daephx opened this issue May 14, 2019 · 2 comments

Comments

@daephx
Copy link

daephx commented May 14, 2019

AMD FX-8370 Eight-Core Processor
Windows 10 Pro Version 1803 (Build 17134.753)
Docker version 18.09.3, build 774a1f4eee
VBoxManage Version 6.0.6r130049

I see there was some changes regarding VT-X detection in the recent release.
by any change did this break something?
I'm honestly not sure how to roll back the software as I kinda just updated on a whim (my fault).

Playing around with docker-toolbox at the moment and attempting to recreate my "default" machine seems to be giving me some grief...

$ docker-machine create default
Running pre-create checks...
Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"

eatheheeheha

I attempted to look for related issues regarding this and really saw nothing that would help; (So my apologize if I'm duplicating) some peoples examples had issues with "nested virtualization" and that doesn't fit my case as I'm just running toolbox on bare-metal windows.

@atomi
Copy link

atomi commented May 15, 2019

Issues just keep piling on and nobody is merging fixes.

See #4669 for a fix you'll have to build yourself

diff --git drivers/virtualbox/vtx_intel.go drivers/virtualbox/vtx_intel.go
index 3f1352ae..852f451d 100644
--- drivers/virtualbox/vtx_intel.go
+++ drivers/virtualbox/vtx_intel.go
@@ -6,7 +6,7 @@ import "github.com/intel-go/cpuid"
 
 // IsVTXDisabled checks if VT-x is disabled in the CPU.
 func (d *Driver) IsVTXDisabled() bool {
-	if cpuid.HasFeature(cpuid.VMX) || cpuid.HasFeature(cpuid.SVM) {
+	if cpuid.HasFeature(cpuid.VMX) || cpuid.HasExtraFeature(cpuid.SVM) {
 		return false
 	}

@starkfire
Copy link

Had the same problem too, but check out this one (#4271). Adding --virtualbox-no-vtx-check worked for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants