使Hyper-V与Intel HAXM并存 [英] Making Hyper-V and Intel HAXM to co-exist
问题描述
Windows手机模拟器需要Hyper-V才能运行,而Android模拟器则需要Intel硬件加速管理器(HAXM),而Hyper-V是不能容忍的.
Windows phone emulator requires Hyper-V to run, but Android emulator in turn requires Intel Hardware Acceleration Manager (HAXM), which is intolerant to Hyper-V.
是否可以保持Hyper-V并暂时禁用它以使Intel HAXM正常运行,而无需重新启动?
Is there a way to keep Hyper-V and disable it temporarily to have Intel HAXM operational, without rebooting?
-
我运行Windows Hyper-V管理器并停止了服务器(这涉及到停止所有服务),但这无济于事:Android仿真器仍然拒绝启动.
I run Windows Hyper-V manager and stopped the server (this involves stopping all services), but that didn't help: Android emulator still refused to start.
我调用了services.msc,以查看某些Hyper-V服务是否仍在运行.实际上,所有以Hyper-V开头的服务都没有运行.我还停止了HV主机服务(Microsoft Hypervisor主机服务),但仍然没有帮助!
I called services.msc to see if some Hyper-V services were still running. Indeed, all services starting with Hyper-V were NOT running. I also stopped HV Host service (Microsoft Hypervisor Host service), but it still didn't help!
有什么想法吗?
推荐答案
这可能是最好的解决方法:
This is probably the best work around:
http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/04/14/creating-a-no-hypervisor-boot-entry.aspx
您保留两个BCD条目引用相同的Windows 10分区,但其中一个已激活Hyper-V(hypervisorlaunchtype自动),另一个则抑制了Hyper-V(hypervisorlaunchtype Off).仍然需要重新启动系统,而无需安装/卸载Hyper-V,这是一个很大的负担.
You keep two BCD entries referring to same Windows 10 partition, but one with Hyper-V activated (hypervisorlaunchtype Auto), and another one with Hyper-V suppressed (hypervisorlaunchtype Off). Still you have to reboot the system, but no need to install/uninstall Hyper-V, which is a significant relief.
一个命题,本文使用 bcdedit ,它是标准的Windows命令行实用程序.或者,您可以使用GUI应用程序 Visual BCD编辑器
A proposito, this article uses bcdedit which is a standard Windows command line utility. As an alternative, you can use a GUI application Visual BCD editor
这篇关于使Hyper-V与Intel HAXM并存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!