Can the Intel HAXM API be used outside of QEMU?

Can the Intel HAXM API be used outside of QEMU?

This question is currently on StackOverflow:

The Intel HAXM driver enables KVM-like abilites on Mac OSX and Windows, but at the moment, it appears to only be used by Android's QEMU fork. The API also has a couple of QEMU-specific structures and IOCTLs (hax_qemu_version and HAX_VM_IOCTL_NOTIFY_QEMU_VERSION).

So does the HAXM driver only work with QEMU? Or can I utilize it in a different project?

Follow me on Twitter: @GaelHof Facebook:
4 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione


HAXM is "officially" supported on the following platforms:

Windows 8 (32/64-bit), Windows 7 (32/64-bit), Windows Vista* (32/64-bit), Windows XP (32-bit only) and Mac OS X 10.6 and later (32/64-bit)

For HAXM on Linux, the basic instructions for setting it up under Linux (Ubuntu is assumed) are here:

As HAXM was built to use QEMU, and specifically, to work with the Android Virtual Device Manager, which is part of the Android SDK, it's not really a general purpose virtualization tool.

Without more context to the original question you reposted from StackOverflow (i.e., how is the developer thinking about using HAXM outside of QEMU?), I don't think we have enough information to say one way or the other whether what they have in mind will work. 

My answer would be "try it and see". If they're looking for an officially supported usage, though, that's limited to the OSes described above.

Hope that helps - let me know if you have more questions, or need more info.


Hi there. I'm the one who posted that question on SO originally.

I was working on an abstraction layer for virtualization APIs to use in a game console emulator and was hoping to include HAX support for Windows and Mac OSX. After I posted that question, I was able to separate the HAX code from QEMU and use the IOCTLs from a different process, so it seems doable. Unfortunately, I had to table the project and work on other things, so I didn't get very far.

Sorry for not posting the question here in the first place. Thank you for your reply and thanks to Gael for re-posting the link here.


That sounds like an interesting project. Let me know if you take it up again - I'd love to hear more about it, and help in any way I can. Have fun! :-)

Accedere per lasciare un commento.