您的位置:首页 > 其它

Hardware Accelerated Execution Manager - Mac OS X*

2015-11-30 19:51 423 查看
https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x


Introduction

This document will guide you through installing the Intel® Hardware Accelerated Execution Manager (Intel® HAXM), a hardware-assisted virtualization engine (hypervisor) that uses Intel® Virtualization Technology (VT) to speed up Android* development.


Prerequisites

Intel HAXM requires the Android* SDK to be installed (version 17 or higher). For more information, refer to the Android* developer website (http://developer.android.com/sdk/).


System Requirements

Hardware Requirements:
Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
At least 1 GB of available RAM

Supported Operating Systems:
Mac OS X* 10.8 (64-bit) or 10.9 (64-bit) or 10.10 (64-bit) or 10.11 (64-bit)

Important:

Before installing HAXM 1.1.5, the previous version (1.1.4 and below) must be uninstalled using:

sudo /System/Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh


Intel HAXM cannot be used on systems without an Intel processor, or with an Intel processor that lacks the hardware features described in the "Hardware Requirements" section above.To determine the capabilities of your Intel processor, visit http://ark.intel.com/

Additionally, Intel HAXM can be used only with Android* x86 emulator images provided by Intel.

Intel HAXM cannot be used with ARM* Android* emulator images or non-Intel x86 Android* emulator images.

To verify that Intel HAXM is running, open a terminal window and execute the following command:
1
kextstat
| grep intel
If Intel HAXM is operating correctly, the command will show a status message indicating that the kernel extension named "
com.intel.kext.intelhaxm
"
is loaded.

To stop or start Intel HAXM, use the following commands:

Stop:
1
sudo
kextunload –b com.intel.kext.intelhaxm
Start:

- for Mac OS X 10.9, 10.10 and 10.11:
1
sudo
kextload –b com.intel.kext.intelhaxm
 

- for Mac OS X 10.8:
1
sudo
kextload /Library/Extensions/intelhaxm.kext/


Adjusting Intel® HAXM Memory Allocation

To change the amount of memory allocated to Intel HAXM, run the installer again.


Removing Intel® HAXM

Warning: Close all instances of the Android* x86 emulator before removing Intel HAXM. Intel HAXM cannot be removed while in use.

To uninstall Intel HAXM, open a terminal window and execute this command:
1
sudo
/Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh
You will be prompted for your current user password. Follow the uninstaller prompts to remove Intel HAXM.

Important: Removing Intel HAXM will disable acceleration of all Intel ® x86 Android* emulators. Existing x86 Android* Virtual Devices will not boot.

Installing Intel HAXM again will re-enable Android* emulator acceleration.


Using Intel® HAXM

Intel HAXM requires an Android* x86 system image provided by Intel. These images can be downloaded through the Android* SDK manager or manually from the Intel Developer Zone website.

Intel x86 Android* emulator images will automatically be executed using the "emulator-x86" binary, provided with the Android* SDK. If Intel HAXM is installed and working, emulation will be accelerated by Intel HAXM (using Intel Virtualization Technology).
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: