GithubHelp home page GithubHelp logo

abdihaikal / haxm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intel/haxm

0.0 3.0 0.0 279 KB

Intel® Hardware Accelerated Execution Manager (Intel® HAXM)

License: BSD 3-Clause "New" or "Revised" License

C 86.56% Objective-C 0.33% C++ 9.72% Makefile 0.01% Assembly 3.38%

haxm's Introduction

Intel Hardware Accelerated Execution Manager (HAXM)

HAXM is a hardware-assisted virtualization engine (hypervisor) that uses Intel Virtualization Technology to speed up IA (x86/ x86_64) emulation on a host machine running Windows or macOS. It started as an Android SDK component, but has recently transformed itself into a general accelerator for QEMU.

HAXM can be built as either a kernel-mode driver for Windows or a kernel extension for macOS.

Building for Windows

Prerequisites:

Build steps:

  1. cd X:\path\to\EWDK\
  2. LaunchBuildEnv.cmd
    • Or, if Visual Studio 2015 is installed, launch Developer Command Prompt for VS2015 from Start > All apps > Visual Studio 2015 instead.
  3. cd X:\path\to\haxm\
  4. msbuild HaxmDriver.sln /p:Configuration="Win7 Debug" /p:Platform="x64"
    • The Win7 configuration ensures the driver is compatible with Windows 7 and later.
    • The Debug configuration also signs the driver with a test certificate. The Release configuration does not do that.
    • Use Win32 instead of x64 to build a 32-bit driver that works on 32-bit Windows.
    • Add /t:rebuild for a clean rebuild instead of an incremental build.

If successful, the driver binary (IntelHaxm.sys) will be generated in X:\path\to\haxm\obj\out\win7\x64\ (or X:\path\to\haxm\obj\out\win7\x86\ if Platform="Win32").

Building for macOS

Prerequisites:

  • Xcode 7.2.1 or later
  • OS X 10.9 SDK (archived here)

Build steps:

  1. cd /path/to/haxm/
  2. cd darwin/hax_driver/com_intel_hax/
  3. xcodebuild -config Release
    • Use -sdk to override the default macOS SDK version (10.9), e.g. -sdk macosx10.12.

If successful, the kext (intelhaxm.kext/) will be generated in /path/to/haxm/darwin/hax_driver/com_intel_hax/build/Release/.

Reporting an Issue

You are welcome to file a GitHub issue if you discover a general HAXM bug or have a feature request.

However, please do not use the GitHub issue tracker to report security vulnerabilities. If you have information about a security issue or vulnerability with HAXM, please send an email to [email protected], and use the PGP key located at https://www.intel.com/security to encrypt any sensitive information.

haxm's People

Contributors

wcwang avatar raphaelning avatar taogle2018 avatar martinlindhe avatar sevenqc avatar stweil avatar

Watchers

James Cloos avatar Abdi Haikal avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.