Nesting on Intel CPU to support docker inside Windows guest on Linux host

Temporary forum to discuss issues and problems during a VirtualBox Beta or Release Candidate phase.

Nesting on Intel CPU to support docker inside Windows guest on Linux host

Postby marcwittke » 1. Oct 2019, 19:39

I just installed the 6.1 beta on my Archlinux
5.3.1-arch1-1-ARCH #1 SMP PREEMPT Sat Sep 21 11:33:49 UTC 2019 x86_64 GNU/Linux

Was thrilled to see my virtual Windows 10 Pro guest being able to install docker, that uses a Hyper-V virtualized Linux under the hood. Also, WSL2 would be intersting, since my guest is insider Build 18970.

However, HyperV MMC is unable to start any machin, WSL2 prompt (ubuntu 18.04) closes immediately. So I uninstalled the Hyper-V feature, rebooted and tried to install it again, but the feature is grayed out:

The tooltip says: "Hyper-V cannot be installed: The processor does not have second level address translation (SLAT) capabilities"

Host CPU is i7-8850H, Virtualbox is configured like this
VT-x/AMD-V
Nested Paging
PAE/NX,
Hyper-V Paravirtualization

So, nested virtualization is not possible using Hyper-V on the guest?
marcwittke
 
Posts: 1
Joined: 1. Oct 2019, 19:27

Re: Nesting on Intel CPU to support docker inside Windows guest on Linux host

Postby socratis » 2. Oct 2019, 06:14

marcwittke wrote:So, nested virtualization is not possible using Hyper-V on the guest?

As a first implementation, only VirtualBox-on-VirtualBox is going to be supported. If anything else works, you're lucky... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Nesting on Intel CPU to support docker inside Windows guest on Linux host

Postby Ramshankar » 25. Nov 2019, 06:45

marcwittke wrote:The tooltip says: "Hyper-V cannot be installed: The processor does not have second level address translation (SLAT) capabilities"
...
So, nested virtualization is not possible using Hyper-V on the guest?


SLAT (Second-Level address translation) is a synonym for "nested paging" (https://blogs.msdn.microsoft.com/uk_fac ... for-hosts/) .

If the nested hypervisor requires nested paging in order to work you are out of luck currently because the nested paging feature (EPT) of nested-virtualization in VirtualBox has not yet been implemented, i.e. the EPT feature is not passed through to the (outer) guest yet because it is not yet implemented.
Oracle Corp.
Ramshankar
Oracle Corporation
 
Posts: 789
Joined: 7. Jan 2008, 16:17

Re: Nesting on Intel CPU to support docker inside Windows guest on Linux host

Postby VM-F4n » 23. May 2020, 11:51

Sorry for push this threat....

Does this mean Windows Server 2019 as Guest in VirtualBox 6.1.x and then installing hyper-v (in this guest win server 2k19) don't work? :?
Bad! :(
I need Hyper-V inside of Windows Server 2019 for docker (testing)!
This testing i want to make in a VM.
Attachments
Hyper-V.jpg
Hyper-V.jpg (48.46 KiB) Viewed 3325 times
VM-F4n
 
Posts: 134
Joined: 25. Oct 2015, 12:53
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win7 64-Bit

Re: Nesting on Intel CPU to support docker inside Windows guest on Linux host

Postby mpack » 23. May 2020, 12:45

Whether it works or not, it's not supported.
mpack
Site Moderator
 
Posts: 32669
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP


Return to VirtualBox Beta / Release Candidate Feedback

Who is online

Users browsing this forum: No registered users and 2 guests