Visual studio Hyper-V-';虚拟机名称';无法在Azure上启动

Visual studio Hyper-V-';虚拟机名称';无法在Azure上启动,visual-studio,azure,xamarin,visual-studio-2015,hyper-v,Visual Studio,Azure,Xamarin,Visual Studio 2015,Hyper V,我在Azure上有一个虚拟机: Windows Server 2012 R2 VS 2015社区更新2(与Xamarin一起) 当我构建Android应用程序时(直接在使用模板创建后),我有以下错误: [Window Title] Hyper-V Manager [Main Instruction] An error occurred while attempting to start the selected virtual machine(s). [Content] 'VS Emul

我在Azure上有一个虚拟机:

  • Windows Server 2012 R2
  • VS 2015社区更新2(与Xamarin一起)
当我构建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

*在记事本中打开.vmx文件,并按以下行添加广告:
  • 运行虚拟机
  • 转到“程序和功能”,确保已安装Hyper-V
*在记事本中打开.vmx文件,并添加以下行:
  • 运行虚拟机
  • 转到“程序和功能”,确保已安装Hyper-V

不幸的是,这不起作用,因为Azure不支持嵌套虚拟化


需要嵌套虚拟化,因为Azure已经在虚拟机中运行,为了在该实例中运行虚拟化实例,您需要在主机中启用相应的标志。Azure不在其基础架构中启用这些标志(其他主要云供应商也不启用)

不幸的是,这不起作用,因为Azure不支持嵌套虚拟化


需要嵌套虚拟化,因为Azure已经在虚拟机中运行,为了在该实例中运行虚拟化实例,您需要在主机中启用相应的标志。Azure不在其基础架构中启用这些标志(其他主要云供应商也不启用)

vmx文件仅适用于VMware,对吗?在我的Azure VM上,我找不到任何vmx文件(使用Windows搜索),我做了您提到的更改,但它仍然不适用于我的VMware机器。还有其他事情要做吗?vmx文件仅适用于VMware,对吗?在我的Azure VM上,我找不到任何vmx文件(使用Windows搜索),我做了您提到的更改,但它仍然不适用于我的VMware机器。还有其他事情要做吗?你试过用XamarinAndroid播放器吗?你试过使用XamarinAndroid播放器吗?谢谢你的回答。就我而言,允许嵌套虚拟化的标志是什么?现在已经有很多了!看一看谢谢你的回答。就我而言,允许嵌套虚拟化的标志是什么?现在已经有很多了!看一看
hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"
vhu.enable = "TRUE"