How to get Extended Page Tables in Guest

Discussions related to using VirtualBox on Windows hosts.

How to get Extended Page Tables in Guest

Postby sixeyes » 26. Feb 2021, 20:47

I have a Windows 10 host and a guest running Windows 10 Pro.

I'm trying to run Android Studio but the phone emulator wants to install Intel's HAXM. The installer for HAXM refuses because EPT (Extended Page Tables) isn't enabled.

From my vbox.log I can see that EPT is supported by the host but not by the guest:

Code: Select all   Expand viewCollapse view
*********************** VT-x features ***********************
Nested hardware virtualization - VMX features
  Mnemonic - Description                                  = guest (host)
  ...
  Ept - Extended Page Tables                              = 0 (1)
  ...


What do I need to do to get EPT enabled for the guest?

I have an Intel i5-9600K processor.
Attachments
VBoxLogs.zip
Log files
(208.75 KiB) Downloaded 3 times
sixeyes
 
Posts: 7
Joined: 7. Nov 2019, 19:55
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Windows 10 Pro

Re: How to get Extended Page Tables in Guest

Postby BillG » 27. Feb 2021, 05:32

I doubt that you will ever get that to work. Things like EPT and VT-x are not usually passed through to a vm. I would run it on the host.
Bill
BillG
Volunteer
 
Posts: 4740
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7,8,Server

Re: How to get Extended Page Tables in Guest

Postby fth0 » 27. Feb 2021, 13:34

BillG wrote:Things like EPT and VT-x are not usually passed through to a vm.

VirtualBox passes VT-x into the VM (with Nested VT-x/AMD-V enabled), but not EPT. This is part of the reasons why only VirtualBox and KVM guests are supported.

sixeyes wrote:What do I need to do to get EPT enabled for the guest?

You cannot achieve that (unless you implement it yourself).

sixeyes wrote:I'm trying to run Android Studio but the phone emulator wants to install Intel's HAXM.

You could try using a Linux VM instead, where QEMU/KVM is used instead of Intel HAXM, but others trying something similar experienced early crashes recently.
fth0
Volunteer
 
Posts: 1875
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...

Re: How to get Extended Page Tables in Guest

Postby sixeyes » 1. Mar 2021, 20:40

Thanks for the info. Perhaps Oracle will implement EPT one day.

I've given up getting the emulator to work. Instead I'm using a physical Android device attached to my VM.
sixeyes
 
Posts: 7
Joined: 7. Nov 2019, 19:55
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Windows 10 Pro


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 30 guests