I am trying to install haxm in a windows azure vm (vm size Ds2 v3 - docs state it supports nested virtualization), but the haxm checktool states all condition satisfied except one VMX Enabled - no.
I am not sure how to enable the vmx for my root azure vm. General step to enable vmx for a physical machine is through bios settings is what i saw, but is this possible in azure vm.
Purpose of installating haxm is to run android emulator in my root azure vm.
Is this possible or i should create a nested vm inside my azure and then run android emulator inside the nested vm? enter image description here
Not able to install haxm in azure vm.
VMX
feature must be enabled in the BIOS of an Azure VM
in order to run HAXM , However, the BIOS
of an Azure VM
is not accessible directly, so you cannot enable VMX
through the BIOS
settings.
I tried to install HAXM in an Azure VM
running Windows Server
with the Ds2 v3 VM size and Generation 2, but I'm also encountering the following error
If you need to run the HAXM
inside an Azure VM
,try to install the same in Gen-1 Version
with same Sizes.
VM Configiration
When I try to install HAXM
in an Azure VM
with Generation 1, it works fine
Successfully Installed HAXM in Azure VM.
Reference: Enable nested virtualization on Azure