VMware Communities
JSaa
Contributor
Contributor
Jump to solution

Windows 8 / WIndows Phone 8 SDK on vmware Fusion 5.01

HI,

I'm on VMware Fusion 5.01 on OSx 10.8.2 Mountain Lion on mid 2012 MB Air with Core i7 Intel.

I'm trying to use a Windows 8 VM for WIndows 8 Phone development. The SDK seems to run the Windows Phone emulater in a HyperV VM itselft (a virtual machine under the VMware virtual machine). For this, I enabled HYperV support in VMWare Fusion (

hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"

in .vmx file and Sttings -> Processor and Memory -> Advanced -> Enable hypervisor applications).

With these settings, I was able to add HyperV role to WIndows 8 Pro and enable it. However, the virtual machine (Windows 8 phone emulator) in Windows 8 HyperV fails to start (Windows Phone Emulator / HyperV gives an error: "The processor topology specified for the virtual machine cannot be support by the host...").

Is there a way around this in VMware Fusion? I heard there is some experimental support for this in VMware Workstation 9 (Windows), would te same be available for Mac/Fusionn as well?

Best,

Juha

Reply
0 Kudos
1 Solution

Accepted Solutions
spravtek
Expert
Expert
Jump to solution

Reply
0 Kudos
9 Replies
spravtek
Expert
Expert
Jump to solution

According to this article it should work: http://vniklas.djungeln.se/2012/04/23/windows-server-2012-8-beta-hyper-v-enabled-inside-a-vmware-fus...

Maybe you already followed these tips?

Reply
0 Kudos
avanish321
Expert
Expert
Jump to solution

check this article for fusion

As per this, you must change the operating system listed in the General virtual machine settings to Hyper-V (unsupported)    . . You must not enable the option " Enable hypervisor application in this virtual machine "

It also says that if you enable " Enable hypervisor application in this virtual machine " once and disable later you will not be able to run hypervisor applications.    Thats bit scary.

So my advise, take the backup of vm and then do the changes.

Cheers! Avanish
lanteksf
Contributor
Contributor
Jump to solution

I was able to get this going by doing everything you have done, but also using 4 cores in the CPU setting, and changing the machine type in General to Hyper-V Unsupported.

JSaa
Contributor
Contributor
Jump to solution

Thanks everyone,

I got it working with your instructions and adding at least 2 CPU cores to Win8 VM Smiley Wink

Reply
0 Kudos
DHarman
Contributor
Contributor
Jump to solution

Hi, can you please clarify what you did to make this work? I unfortunately enabled the hyperv applications thing that it says not to do (thanks vmware nice...!), have now turned it off and turned on hypev (unsupported) but I am getting an error when trying to launch the windows phone emulator.

Do I really need to nuke my installation?

Reply
0 Kudos
lanteksf
Contributor
Contributor
Jump to solution

Yep unfortunately I had to scrub my install after checking that box. Removing the check did not make it work.

Reply
0 Kudos
JSaa
Contributor
Contributor
Jump to solution

This is how I got it working (without nuking my existing Win 8 x64 installation):

1) Added (or cheeked they are present) to .vmx file these rows:

hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"

vhv.enable = "TRUE"

2) Settings -> CPU and memory -> Advanced: checked "Enable hypervisor applications in this  virtual machine"

3) Settings -> CPU and memory: make sure 2 Cores (or more?) are assigned to the Virutla machine

4) Settings -> Advanced: Preferred virtualizationn engine: Intel VT-x with EPT

After restarting Win 8 x64 VM, the HyperV system (and e.g. WIndows 8 Phone SKD debugging / Windows Phone Emulation) works perfectly.

Best,

Juha

Reply
0 Kudos
DHarman
Contributor
Contributor
Jump to solution

I created a new vm using the unsupported hyperv engine and it seems to be working fine. Didn't have to edit the config file.

One thing though, every time I boot now I get told that the vm is trying to intercept all network traffic and I need to authenticate this with my mac account. Is there a way to turn this off as its annoying on reboots?

Reply
0 Kudos
fmarquez07
Contributor
Contributor
Jump to solution

I have the same issue, but it does not seem to affect to the emulator loading my projects.

However, I have something else. I have 2 VM with Windows 8 + WP8 SDK. One of them was built a while back with the VS2012 RTM. The other is a clean install with final versions of W8, VS2012 and WP8 SDK. There is nothing else installed. The newer one has problems if I try to creat a WP8 project (standard from the template) in a local share (in the host machine drive). The same project compiles and runs fine if I copy to the VM C: drive.

It is a very odd problem, and I cannot find anyone esle with it. I replicated creating another VM from scratch with clean configuration, and it is the same issue. Permissions for the share are correct, and the project files are create, it just fails on the build phase...

Any ideas?

Reply
0 Kudos