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

Postings relating to old VirtualBox pre-releases
Post Reply
marcwittke
Posts: 1
Joined: 1. Oct 2019, 19:27

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

Post by marcwittke »

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?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post by socratis »

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.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

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

Post by Ramshankar »

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.
VM-F4n
Posts: 181
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

Post by VM-F4n »

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 23466 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

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

Post by mpack »

Whether it works or not, it's not supported.
Post Reply