Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/299.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vagrant CENTOS7 guest内无法获取VT-X_Vagrant_Virtualbox_Centos7_Virtualization - Fatal编程技术网

Vagrant CENTOS7 guest内无法获取VT-X

Vagrant CENTOS7 guest内无法获取VT-X,vagrant,virtualbox,centos7,virtualization,Vagrant,Virtualbox,Centos7,Virtualization,目前,我在windows 10主机中安装了一个CENTOS7 guest,我正在尝试在CENTOS guest中安装vagrant和Virtual box,以创建用于本地开发的kubernetes群集 我已经安装了vagrant 2.1.1和VirtualBox 5.2.12 当我试图 流浪汉 它说,VT-X不可用 我已在BIOS中启用了虚拟化,并检查了windows功能,并且HyperV已禁用/未选中 另外,当我对/proc/cpuinfo进行cat时,vmx不在标志中 processor

目前,我在windows 10主机中安装了一个CENTOS7 guest,我正在尝试在CENTOS guest中安装vagrant和Virtual box,以创建用于本地开发的kubernetes群集

我已经安装了vagrant 2.1.1和VirtualBox 5.2.12

当我试图

流浪汉

它说,VT-X不可用

我已在BIOS中启用了虚拟化,并检查了windows功能,并且HyperV已禁用/未选中

另外,当我对/proc/cpuinfo进行cat时,vmx不在标志中

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping        : 7
cpu MHz         : 3092.984
cache size      : 6144 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc pni ssse3 sse4_1 sse4_2 x2apic hypervisor lahf_lm
bogomips        : 6185.96
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
同样对于lscpu命令:

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 42
Model name:            Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
Stepping:              7
CPU MHz:               3092.984
BogoMIPS:              6185.96
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              6144K
NUMA node0 CPU(s):     0,1

我真的很感激您能告诉我如何解决这个问题。

您禁用了hyper-v,这意味着您正在使用替代的虚拟机监控程序(virtualbox?)。我认为除了windows上的hyper-v之外,任何东西都不支持嵌套虚拟化

您可以尝试使用centos访问hyper-v来宾(通过命令
设置VMProcessor-VMName-ExposeVirtualizationExtensions$true启用嵌套虚拟化),并在其中运行virtualbox和vagrant