【问题标题】:Windows Phone Emulator error, Hyper-V components not running, Windows 8.1 hosted in Windows AzureWindows Phone 模拟器错误,Hyper-V 组件未运行,Windows 8.1 托管在 Windows Azure 中
【发布时间】:2014-05-21 21:23:49
【问题描述】:

环境:

Windows 8.1 Enterprise 64-bit hosted in Windows Azure
Visual Studio Ultimate 2013 (Update 2)

我在尝试运行一个非常简单的手机应用程序时收到以下错误。我知道 MS 说不支持 VM-within-a-VM 环境,但我知道它可以工作。有没有人在这方面取得成功?非常感谢任何帮助。

Windows Phone Emulator

The Windows Phone Emulator wasn't able to ensure the virtual machine was running:

Something happened while starting a virtual machine: 'Emulator WVGA 512 MB.' failed to start.
(Virtual machine ID CADD6546-129A-4683-9A2D-52EAE777E888)

The Virtual Machine Management Service failed to start the virtual machine 'Emulator WVGA 512 MB.'
because one of the Hyper-V components is not running
(Virtual machine ID CADD6546-129A-4683-9A2D-52EAE777E888).

在看到错误之前,模拟器会发出屏幕消息:

Loading ... 

The Windows Phone OS is starting ...

然后是错误。在所有可用的 Hyper-V 服务中,Hyper-V 虚拟机管理服务是唯一正在运行的服务。

谢谢,

克里斯

【问题讨论】:

  • Azure 将在 Dv3 and Ev3 VMs 中启用嵌套虚拟化(和超线程)。一旦发布,使用这些虚拟机应该可以让您毫无问题地运行 Windows Phone 模拟器。 Corey Sanders 有一个快速的video 展示了一个演示。

标签: azure windows-phone-8 hyper-v windows-phone-8-emulator


【解决方案1】:

我在 vmware player 的 windows 8.1 上运行 Visual Studio 时遇到了同样的问题 我必须做的是解决这个问题:

在 VM 的处理器设置中勾选“虚拟化 Intel VT-x/EPT 或 AMD-V/RVI”框

在文件“Windows 8 x64.vmx”中添加“hypervisor.cpuid.v0 = FALSE”行(在第 5 行和第 6 行之间添加。不确定这是否重要,但在这一行我确定它有效)

应该没问题

【讨论】:

  • 对我不起作用(诚然在 vmware 上的 Windows 10 上),如果我修改 vmx 文件,我会收到“检查计算机的 BIOS”错误 :(
  • 噢!必须选择 Hyper-V 作为操作系统(在 vmware->Manage->Settings->VM 关机时的选项中):youtube.com/watch?v=rBPPkhkSHRU(注意:我在 W10 中没有尝试过,我退回到 W8。 1)
【解决方案2】:

You cannot host it in Azure. It needs to be a physical machine。” ——杰夫·桑德斯(MSFT)

【讨论】:

    【解决方案3】:

    Florian.C 的回答让我走上了正确的道路,让模拟器在我的 MacBook Pro 上的 VMware Fusion 中正常工作。在 Fusion 中,设置位于“处理器和内存”部分下。您必须打开底部的“高级”部分并选中“为此虚拟机启用管理程序应用程序”。完成后,我还必须打开 .vmx 文件并添加“hypervisor.cpuid.v0 = “FALSE””行。最初我从 SO 复制并粘贴,当我启动它时,VM 抛出了一个错误。事实证明,“我在 FALSE 周围添加的引号不是正常引号。修复该问题后,VM 启动并且模拟器在 Fusion 下运行良好。感谢您提供的重要信息!

    【讨论】:

      猜你喜欢
      • 2014-03-02
      • 2013-10-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多