无法创建虚拟机 [英] Unable to create the virtual machine

查看:154
本文介绍了无法创建虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我很高兴,终于可以安装Windows Phone 8 SDK并进行了一些尝试.我在自己的虚拟机中安装了Windows 8 Pro的全新安装(如果从Parallels运行,则正在运行),然后安装了Windows Phone 8 SDK.

I was so happy today that I have been finally able to install Windows Phone 8 SDK and try it a bit. I installed fresh new installation of Windows 8 Pro into my virtual machine (I am running if from Parallels) and then installed Windows Phone 8 SDK.

一切顺利,Visual Studio Express已安装并正在运行,但是当我创建新项目并尝试对其进行部署时,VS失败,并显示了非常奇怪的消息.

Everything went smooth, Visual Studio Express is installed and running, but when I created new project and tried to deploy it, VS fails with really weird message.

首先,出现消息框,提示"Windows Phone Emulator无法创建虚拟机:一般故障".真正告知,非常专业-通用错误,这真的很好.然后出现部署失败的信息(非常感谢您向我通报情况,我没有注意到它完全崩溃了).然后在错误列表"中,有关于无效指针"的信息-甚至更好.完全不知道失败或出了什么问题.

First of all, message box informing that "The Windows Phone Emulator wasn't able to create the virtual machine: Generic failure" appears. Really informing, really professional - generic error, that's really good. Then the information that deployment failed appears (thanks a lot for keeping me informed about that, I didn't noticed that it crashed completely). And then in the Error List, there is an information about "Invalid pointer" - even better. No clue at all about what failed or what's wrong.

有人可以帮我吗?到目前为止,互联网上没有关于此主题的信息,我也不知道问题出在哪里.我扫描了Windows事件和日志,但是没有任何内容(可能我没有正确搜索,因此,如果可以的话,请指导我进行操作).

Can anybody help me with that? There is nothing on the internet about this topic so far and I don't know where the problem is. I scanned the Windows events and logs, but there is nothing (probably I haven't been searching properly, so please guide me through that if you can).

有人可以帮忙吗?

推荐答案

Windows Phone 8模拟器需要硬件Hyper-V支持.特别是,它要求二级地址转换,硬件辅助虚拟化和硬件DEP支持已启用,并且在虚拟机管理程序中运行(无嵌套).如果您在过去4年内购买了计算机,则这些要求应该没有问题.您可以查看文章了解有关此信息以及如何查找您的PC是否支持的更多信息.

The Windows Phone 8 emulator requires hardware Hyper-V support. In particular, it requires second-level address translation, hardware assisted virtualization, and hardware DEP support enabled and to not be ran in a hypervisor(no nesting). If you bought your machine within the past 4 years you should have no problem with these requirements. You can check out this article to see more information about that and how to find if your PC supports it.

由于这些硬件要求,这意味着您无法在大多数虚拟化技术中运行电话仿真器...除了一个例外:我一直在使用VMWare 9,它似乎包含一个功能可以使Hyper-V正常运行.因此,运行电话仿真器的唯一选择是购买VMWare 9(或配置更多的8)或将物理机升级到Windows 8

Because of these hardware requirements, this means you can't run the phone emulator inside of most virtualization technologies... With one exception: I've been using VMWare 9 which appears to include an "unsupported" feature to allow Hyper-V to work though.. So your only choice for running the phone emulator is to either buy VMWare 9 (or 8 with more configuration) or upgrade a physical machine to Windows 8

VMWare允许您在VM内部运行Hyper-V的不受支持的方式是存在手动选项(

The unsupported way VMWare allows you to run Hyper-V inside of a VM is that there is a manual option (hypervisor.cpuid.v0 = "FALSE") which basically tells VMWare not to report to the virtual machine that it's running in a VM. Hyper-V checks if it's running in a VM and won't work if it is, so this gets Hyper-V to work past that check. I personally have tested this whole nested-VM thing with the Phone emulator(including before public release), and other than being quite slow, it does work pretty well with no immediate crashes or anything.

在下面的答案中 ,也有针对VMWare Workstation 8的解决方法.但是,9的配置要容易得多,因此,如果有,请使用此方法.

There is a workaround for VMWare Workstation 8 as well in an answer below. However, 9 is much easier to configure, so if you have it use this method.

这篇关于无法创建虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆