Run Windows Phone emulator in VMware Workstation

In case anyone ever needs to run Visual Studio's Windows Phone emulator for Windows Phone 8 in a VM running Windows 8+. You need to make sure your computer supports Intel VT-x. This is because the emulator runs as a Hyper-V virtual machine.

If this is not enabled, the error can manifest itself as this error:

Failed to start the virtual machine 'test' because one of the Hyper-V components is not running.

When creating the VM, in the settings of the Hardware tab > Processors side panel, make sure you have the option to pass-through the Intel VT-x/EPT feature and is enabled.

After the VM is created, the .vmx needs to be edited to include the line:

hypervisor.cpuid.v0 = "FALSE"