Page 1 of 1

How to get Extended Page Tables in Guest

PostPosted: 26. Feb 2021, 20:47
by sixeyes
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.

Re: How to get Extended Page Tables in Guest

PostPosted: 27. Feb 2021, 05:32
by BillG
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.

Re: How to get Extended Page Tables in Guest

PostPosted: 27. Feb 2021, 13:34
by fth0
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.

Re: How to get Extended Page Tables in Guest

PostPosted: 1. Mar 2021, 20:40
by sixeyes
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.