4 ms·
Accelerating QEMU on Windows with HAXM
- ris 9y agoIf AMD are at all smart they'll be attempting to contribute AMD-V support to https://github.com/intel/haxm https://github.com/intel/haxm ASAP. Now that will be a fun pull request to watch.
- zdw 9y agoAlready in the issue tracker, although the "have to ask my superiors" comment isn't too encouraging: https://github.com/intel/haxm/issues/5 https://github.com/intel/haxm/issues/5
- TheCoreh 9y agoLooks like the superiors just replied :) https://github.com/intel/haxm/issues/5#issuecomment-346520217 https://github.com/intel/haxm/issues/5#issuecomment-34652021...
- darklajid 9y agoCheck again - by now it has a (kinda positive) "Not sure how to do it and if it makes sense to do that in the same driver, but we'd be open for discussions" reply.
- my123 9y agoUgh, no Hyper-V support kind of defeats the point these days... Especially on Win10... Maybe there'd be a way to do this for Hyper-V too
- ComputerGuru 9y agoI don’t understand. Hyper-V is already hardware accelerated and takes full advantage of VT-D.
- my123 9y agoHyper-V doesn't have the same emulated devices support by a long shot.
- cypher543 9y agoHyper-V is extremely strict about what can access its hypercalls, so you can't do anything from userspace like with KVM and HAX. Hypercalls can only be made from ring 0 and creating domains can only be done from the root domain.
- saladeen 9y agoThere's a project that uses QEMU to emulate the original xbox, xqemu: http://xqemu.com/ http://xqemu.com/ I wonder if this will help their project too.
- my123 9y agoThat doesn't help the project at all... HLE seems to be more workable for Xbox... Xenia is VERY far for the Xbox 360, it isn't technical but organisational issues instead
- anthk 9y agoHLE sucks for the XBOX, there is many low level stuff which can be replicated well without hacks. You can't compare Xenia to the 1st XBOX, at all.
- anthk 9y agoI tried it back in the day while talking about the results on reddit with jayfoxrox. HL2 ran much faster, (the GUI "widgets" and loading bars were nearly as fast as an XBOX) but the graphics were scrambled.
- pkaye 9y agoIs there an equivalent to HAXM for Linux? Would it be KVM?
- pm215 9y agoYes, exactly. All of KVM, HAXM and the OSX Hypervisor.Framework are basically providing APIs to user applications that encapsulate the CPU's virtualization capability so that you can use it to implement VMs without needing kernel privilege. They differ in how high a level of abstraction they provide (eg KVM does a lot more for you in the kernel, H.f punts to userspace for everything), but the principle is the same.
- deleted 9y ago[deleted]
- CSDude 9y agoHAXM works on OSX AFAIK, it would be nice to have it in OSX as well
- Hallucinaut 9y agoIt's on my backlog of experiments that I'll probably never get to, but has anyone had success running QEMU on, say, AWS (virtualized) Windows servers to run Linux VMs? I presume HAXM isn't relevant for attempting this?
- SteveNuts 9y agoI don't think any of the public cloud providers support nested virtualization.
- JoshTriplett 9y agoSeveral do support nested virtualization under Linux; I've tested that. I don't know if they do under Windows, though.
- ephermata 9y ago[Disclaimer - I work for Microsoft] Azure just released nested virtualization VMs. I've tested Hyper-V running in such a VM and it worked well. Have not yet tested HAXM.
- justincormack 9y agoAzure and GCP do now.
- ComputerGuru 9y agoCan I ask why? Can’t you just spin up any number of smaller instances running Linux AMIs instead?
- fulafel 9y agoDidn't Android SDK on Windows use qemu & haxm for years already?
- pjmlp 9y agoYes.
- ComputerGuru 9y agoHAXM started off as a part of the Android SDK for Windows but is now a standalone component as its wider applicability has been noted and capitalized upon.