我在Azure上有一个VM:
当我构建一个Android应用程序时(在使用模板创建后直接)我有这个错误:
[Window Title]
Hyper-V Manager
[Main Instruction]
An error occurred while attempting to start the selected virtual machine(s).
[Content]
'VS Emulator 5-inch KitKat (4.4) XXHDPI Phone' failed to start.
Failed to start the virtual machine 'VS Emulator 5-inch KitKat (4.4) XXHDPI Phone' because one of the Hyper-V components is not running.
[Expanded Information]
'VS Emulator 5-inch KitKat (4.4) XXHDPI Phone' failed to start. (Virtual machine ID F03A58D7-BEAB-4FA2-A17F-FACC465E8559)
The Virtual Machine Management Service failed to start the virtual machine 'VS Emulator 5-inch KitKat (4.4) XXHDPI Phone' because one of the Hyper-V components is not running (Virtual machine ID F03A58D7-BEAB-4FA2-A17F-FACC465E8559).
[V] See details [Close]
一个想法? THX
答案 0 :(得分:4)
不幸的是,这不起作用,因为Azure不支持嵌套虚拟化。
需要嵌套虚拟化,因为Azure已在虚拟机中运行,为了在该实例中运行虚拟化实例,您需要在主机中启用相应的标志。 Azure不会在其基础架构中启用这些标记(也不会在任何其他主要云供应商中启用)
答案 1 :(得分:0)
hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"
vhu.enable = "TRUE"