How to enable Virtualization

blaz 11 Reputation points
2021-09-23T14:05:53.96+00:00

Hi, i create VM on Azure because I need better PC for programming. I use Android Studio. Now I have a problem. When I try start android emulator I got an error. Is there any way to enable CPU virtualization. Because I cannot work withount emulator.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,086 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Philippe Levesque 5,681 Reputation points MVP
    2021-09-23T14:42:17.91+00:00

    Hi

    Nested virtualization need a Dv3 and Ev3 VM sizes.

    Nested virtualization lets you run virtual machine (VM) instances inside of other VMs so you can create your own virtualization environments. To support nested virtualization, Compute Engine adds Intel VT-x instructions to VMs, so when you create a VM, the hypervisor that is already on that VM can run additional VMs.

    Such support in necessary if the tool you use run a VM via the Android Emulator.

    2 people found this answer helpful.

  2. kobulloc-MSFT 23,336 Reputation points Microsoft Employee
    2021-09-24T01:58:52.647+00:00

    Hello, @blaz !

    What Azure VMs can you run nested virtualization on? There's a useful page somewhat deep in the Azure Virtual Machine documentation that lists all VMs by SKU family that are hyper-threaded and capable of running nested virtualization:

    https://learn.microsoft.com/en-us/azure/virtual-machines/acu

    In addition to what @Philippe Levesque has mentioned, there are a couple options:

    • D_v3
    • Ds_v3
    • Dv4
    • Dsv4
    • Ddv4
    • Ddsv4
    • E_v3
    • Es_v3
    • Ev4
    • Esv4
    • Edv4
    • Edsv4
    • F2s_v2 - F72s_v2
    • FX4 - FX48
    • M
    0 comments No comments