Android emulator: how to find out if hardware virtualization feature is used?

后端 未结 4 1591
面向向阳花
面向向阳花 2021-02-13 02:46

Starting with Android SDK Tools rev 17 the Android emulator supports using the hardware virtualization feature (Intel VT, VT-x, vmx and AMD-V, SVM) which should speed-up x86 bas

相关标签:
4条回答
  • 2021-02-13 03:13

    During emulator loading you should see this line:

    [2012-03-26 14:06:22 - Emulator] HAX is working and emulator runs in fast virt mode

    0 讨论(0)
  • 2021-02-13 03:13

    A quick solution for Windows platform, Launch CMD as an administrator and type this command

    SC query INTELHAXM
    

    And you should see output like this (if hardware acceleration is up and running)

    SERVICE_NAME: intelhaxm
        TYPE               : 1  KERNEL_DRIVER
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
    
    0 讨论(0)
  • 2021-02-13 03:21

    After steping through this tutorial on OS X Lion, I see the following in the console, when starting the emulator:

    ./emulator-x86 -avd Test3                                                                                                              
    HAX is working and emulator runs in fast virt mode
    
    0 讨论(0)
  • 2021-02-13 03:28

    Had the same issue on Windows 7 32bit with Q6600 Intel processor and pretty outdated Asus P5E-VM SE motherboard. The motherboard did not even have a switch for virtualization, though Intel tool: http://www.intel.com/support/processors/tools/piu/sb/CS-014921.htm indicated that VT technology is enabled. The culprit was that Data Execution prevention was enabled only for windows services, I have enabled it for all programs and after computer restart received this message in the Android Console of the Eclipse: HAX is working and emulator runs in fast virt mode

    DEP setting is located: Located Windows/Control Panel/System&Security/System/Advanced System Settings/Advanced tab/Performance/Data Execution Prevention tab

    The idea to check it I received here: https://developer.tizen.org/sdk/haxm Though only used standard images (not Tizen ones).

    Have to say that loading of the emulator in the virtualization mode is not nearly as impressive as on Intel promo video: http://www.youtube.com/watch?v=pt9IeJ777zw But uploading of the application (mine is pretty big ~5MB) and general responsiveness of the emulator is quite significant. One cannot say that it works as native computer (that it sometimes there is a visible lag), but again it is visibly faster. It eats a lot of memory though (I have 4 GB, only 14MB is free when emulator will run).

    0 讨论(0)
提交回复
热议问题