Nested virtualization
-
VBProblems
- Posts: 32
- Joined: 1. Sep 2014, 17:33
Nested virtualization
Nested virtualization was available as a option in VirtualBox 6.1.0 but now it's greyed out on VirtualBox 6.1.2. My computer has a Skylake CPU so it should support it according to the documentation. 
- Attachments
-
- Logs.7z
- (47.67 KiB) Downloaded 31 times
-
VBProblems
- Posts: 32
- Joined: 1. Sep 2014, 17:33
Re: Nested virtualization
Nested virtualization is still greyed out after upgrading to VirtualBox 6.1.8.
-
fth0
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Nested virtualization
I believe that the documentation is not precise enough.VBProblems wrote:My computer has a Skylake CPU so it should support it according to the documentation.
The VirtualBox Manager only allows to enable the Enable Nested VT-x/AMD-V checkbox, if the VMCS Shadowing CPU feature is available, which isn't the case with your CPU. Please read two of my posts from other threads for some further information:
viewtopic.php?f=1&t=98106#p475731
viewtopic.php?f=1&t=98122#p475893
-
VBProblems
- Posts: 32
- Joined: 1. Sep 2014, 17:33
Re: Nested virtualization
I was not aware of VMCS shadowing and I thought there was no specific CPU feature needed for nested virtualization besides VT-x\AMD-v. This seems like an obscure feature to me because I couldn't find much documentation about it. I did find that the feature was introduced in Haswell and I have a desktop Skylake CPU. Skylake is newer than Haswell. I can't find much detail on exactly what CPUs support it.
-
fth0
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Nested virtualization
AFAIK, VMCS Shadowing is needed for nested virtualization to be performant, like EPT is needed for (non-)nested virtualization to be performant.
VMCS Shadowing was introduced as part of Intel vPro. I have no evidence for it, but so far in all VBox.log files I've looked at, there is a correspondence of VMCS Shadowing being available when the CPU is an Intel vPro CPU according to ark.intel.com.
VMCS Shadowing was introduced as part of Intel vPro. I have no evidence for it, but so far in all VBox.log files I've looked at, there is a correspondence of VMCS Shadowing being available when the CPU is an Intel vPro CPU according to ark.intel.com.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Nested virtualization
It definitely needs more than that.VBProblems wrote:I thought there was no specific CPU feature needed for nested virtualization besides VT-x\AMD-v.
VT-x/AMD-v has been supported for more than a decade. Nested virtualization was not allowed in VirtualBox until recently (v6.0.x), and to begin with it was only supported on AMD hosts. Intel support only arrived in 6.1.0, so it's still very new.
As to what the precise requirements are, you'd probably have to work that out from the source code. This isn't the sort of technical data I'd expect to find in the user manual (and having just checked, I'm not finding any).