如何在虚拟机内的虚拟机内启用 VT-x [英] How to enable VT-x inside a Virtual Machine inside a Virtual Machine

查看:62
本文介绍了如何在虚拟机内的虚拟机内启用 VT-x的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个支持虚拟化的 Windows 10 主机操作系统.接下来,我有一个使用 virtualbox 创建的 Ubuntu 16.04 虚拟机.出于开发目的,我需要在我的来宾 Ubuntu 虚拟机中创建一个虚拟机.不幸的是,我无法在我的来宾 Ubuntu 机器中启用 VT-x 选项来在我的 Ubuntu 来宾中创建一个虚拟机.任何有关如何在我的虚拟 Ubuntu 机器内的虚拟框上启用 VT-x 选项的信息都将不胜感激.

I have a windows 10 host operating system that supports virtualization. Next, I have an Ubuntu 16.04 virtual machine I created using virtualbox. For development purposes, I need to create a virtual machine inside my guest Ubuntu virtual machine. Unfortunately, I can't enable VT-x option in my guest Ubuntu machine to create a create a virtual machine inside my Ubuntu guest. Any information on how enable VT-x option on my virtual box inside my virtual Ubuntu machine would be appreciated.

我认为这可以通过 VirtualBox 的 PCI Passthrough 来完成.如果是,请详细说明如何.最后,我的问题类似于这个家伙的,但有例外我似乎无法创建 UBuntu32 位框.

I had that this may be accomplished through PCI Passthrough for VirtualBox. If so please detail how. Lastly, my problem is similar to this guy's but with exception I can't seem to create an UBuntu32bit box.

推荐答案

关于如何在我的虚拟 Ubuntu 机器中的虚拟框上启用 VT-x 选项的任何信息将不胜感激.

Any information on how enable VT-x option on my virtual box inside my virtual Ubuntu machine would be appreciated.

你只是不能.

VT-x 是一种硬件能力:

2006 年,英特尔 (VT-x) 和 AMD (AMD-V) 都引入了有限的硬件虚拟化支持,允许更简单的虚拟化软件,但提供的速度优势很少.更强大的硬件支持可显着提高速度,并随更新的处理器型号一起出现.

In 2006, both Intel (VT-x) and AMD (AMD-V) introduced limited hardware virtualization support that allowed simpler virtualization software but offered very few speed benefits. Greater hardware support, which allowed substantial speed improvements, came with later processor models.

由于 VT-x 需要硬件功能才能工作,因此嵌套 VM 中的外部"虚拟机无法向内部"VM 提供该功能.外部"虚拟机没有任何实际硬件.

Since VT-x requires hardware capabilities to work, there's no way for the "outer" virtual machine in your nested VMs to provide that capability to the "inner" VM. The "outer" VM doesn't have any actual hardware.

如果你必须在你的虚拟机中运行一个需要 VT-x 提供的一些功能的虚拟机——比如运行 64 位操作系统的能力——你可以尝试 QEMU 用于内部"虚拟机.不过,它会更慢,因为它是一个模拟器而不是真正的虚拟化.

If you have to run a VM inside your VM that requires some of the capabilities that VT-x provides - such as the ability to run a 64-bit OS - you can try QEMU for the "inner" virtual machines. It'll be slower since it's an emulator and not true virtualization, though.

这篇关于如何在虚拟机内的虚拟机内启用 VT-x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆