Nested paging exposed to the guest

Postings relating to old VirtualBox pre-releases
Post Reply
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: various

Nested paging exposed to the guest

Post by mhanor »

Is it possible to expose Nested Paging (EPT/NPT) to 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: Nested paging exposed to the guest

Post by socratis »

"EPT" as in "Ept - Extended Page Tables"? If so, everything I've seen so far[1] has the following entry in the VBox.log:
00:00:02.439949 Nested hardware virtualization - VMX features
00:00:02.439949   Mnemonic - Description                                  = guest (host)
...
00:00:02.439978   Ept - Extended Page Tables                              = 0 (1)
I have yet to see a "1 (1)" case, which means no, not at the moment at least...

[1]: I've been collecting an assortment of CPUs (since 6.1.0b1 came out) trying to see what capabilities each one has, and see if they're nested-virtualization capable.
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.
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: Nested paging exposed to the guest

Post by Technologov »

I think EPT/NPT is necessary requirement for some hypervisors, including Hyper-V.
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: various

Re: Nested paging exposed to the guest

Post by mhanor »

Correct, that's why I'm asking.
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: Nested paging exposed to the guest

Post by socratis »

Seems to me that someone(s) want to run Hyper-V inside a VM... :)

As previously stated in these 6.1.0b1 forums, it's best if you stick on getting "VirtualBox on VirtualBox" running first, and then the other "exotic" (as I call them) scenarios will follow. When you start seeing:
socratis wrote:
00:00:02.439978   Ept - Extended Page Tables  = 1 (1)
in your logs, then you'll know that something might be ready for public testing...
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.
mhanor
Volunteer
Posts: 321
Joined: 7. Oct 2009, 12:40
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: various

Re: Nested paging exposed to the guest

Post by mhanor »

I'm only looking for a straight answer from a developer, so we can be sure. In the past, I know that you could enable some CPU features or instructions, that weren't enabled by default for 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: Nested paging exposed to the guest

Post by socratis »

mhanor wrote:I'm only looking for a straight answer from a developer, so we can be sure
Most of the times, I do seek confirmation before posting an answer, that's how my posts get... "gravitas"! ;)
[quote]
 socratis: EPT/NPT is not something that's passed to the guest, right?
Developer: not yet.[/quote]
For more details, join the IRC [url=irc://irc.freenode.net/vbox-dev]#vbox-dev[/url] channel...
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.
Post Reply