How to enable VT-x inside a Virtual Machine inside a Virtual Machine

好久不见. 提交于 2019-12-11 18:16:53

问题


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.

Edit: 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.


回答1:


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

You simply CAN'T.

VT-x is a hardware capability:

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.

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.

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.



来源:https://stackoverflow.com/questions/50529214/how-to-enable-vt-x-inside-a-virtual-machine-inside-a-virtual-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!