Windows 7主机上的Debian guest虚拟机中的CentOS客户:“VT-x不可用(VERR_VMX_NO_VMX)”

时间:2017-01-04 17:53:06

标签: vagrant debian virtualbox virtualization

我在Windows 7上安装了VirtualBox 5.1。 我有一个客户操作系统Debian(64位)设置。 对于此guest虚拟机系统,我在“系统 - Accelaration”中选中了“启用VT-x / AMD-V ”和“启用嵌套分页”复选框em>“menu和” Paravirtualization Interface “设置为” KVM “。

现在我尝试使用VirtualBox 5.0作为提供程序在Debian客户操作系统内部署CentOS(来宾)系统(遵循these 指令安装Apache Metron开发环境)到 Vagrant

我跑:

vagrant up

并收到以下输出:

ytsboe@debian-metron ~/incubator-metron/metron-deployment/vagrant/full-dev-platform$ vagrant up
 Running with ansible-skip-tags: ["solr", "yaf"]
 Bringing machine 'node1' up with 'virtualbox' provider...
 ==> node1: Box 'bento/centos-6.7' could not be found. Attempting to find and install...
     node1: Box Provider: virtualbox
         node1: Box Version: >= 0
     ==> node1: Loading metadata for box 'bento/centos-6.7'
         node1: URL: https://atlas.hashicorp.com/bento/centos-6.7
         ==> node1: Adding box 'bento/centos-6.7' (v2.2.7) for provider: virtualbox
             node1: Downloading: https://atlas.hashicorp.com/bento/boxes/centos-6.7/versions/2.2.7/providers/virtualbox.box
         ==> node1: Successfully added box 'bento/centos-6.7' (v2.2.7) for 'virtualbox'!
         ==> node1: Importing base box 'bento/centos-6.7'...
         ==> node1: Matching MAC address for NAT networking...
         ==> node1: Checking if box 'bento/centos-6.7' is up to date...
         ==> node1: Setting the name of the VM: full-dev-platform_node1_1483547498018_38251
         ==> node1: Clearing any previously set network interfaces...
         ==> node1: Preparing network interfaces based on configuration...
             node1: Adapter 1: nat
                 node1: Adapter 2: hostonly
             ==> node1: Forwarding ports...
                 node1: 22 (guest) => 2222 (host) (adapter 1)
                 ==> node1: Running 'pre-boot' VM customizations...
                 ==> node1: Booting VM...
                 There was an error while executing `VBoxManage`, a CLI used by Vagrant
                 for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "34769275-58df-4c89-af8d-d1cb3e538dc9", "--type", "headless"]

Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

有人知道发生了什么吗?

注意:此处有很多帖子建议关闭Hyper-V。我实际上试图在我的戴尔上做到这一点,但在BIOS中找不到它。我也不认为它会有所帮助,因为问题出在 guest guest 中......

1 个答案:

答案 0 :(得分:0)

事实证明,VirtualBox内部的VirtualBox尚不支持:https://www.virtualbox.org/ticket/4032