VMware Cloud Community
glynnd1
Expert
Expert

Hyper-V 2012 on vCloud 5.1

No problem getting Hyper-V running on vSphere 5.1, but on the same hosts under vCloud it fails with the Add Roles & Features claiming that there is already another hypervisor running. I'm 99% certain I've made all the expected changes & hacks, and ESXi runs fine - though it has always been more forgiving.

What did I miss? Or is this not currently possible?

Thanks!

Tags (3)
0 Kudos
2 Replies
admin
Immortal
Immortal

Is the guestOS type set to "winHyperV" in the .vmx file for the Hyper-V VM?

glynnd1
Expert
Expert

The kety bit I was missing was:

You will need to add one additional .vmx parameter which tells the underlying guestOS (Hyper-V) that it is not running as a virtual guest which in fact it really is. The parameter is hypervisor.cpuid.v0 = FALSE

As William Lam has documented here: http://www.virtuallyghetto.com/2012/08/how-to-enable-nested-esxi-other.html

So the process I followed was:

  1. Create VM in vSphere (use vmxnet3 NIC, vCD doesn't like E1000s during import)
  2. Install Win2012
  3. Edit VMX to include hypervisor.cpuid.v0 = FALSE
  4. Import to vCD
  5. Check the "Expose hardware assisted virtulization to the guest OS"
  6. Add additiona NICs, (Hyper-V doesn't like vmxnet3 NICs, no suprise there Smiley Happy, but you can add E1000).
  7. Enable Hyper-V role

It can probably be all done from vCD...

Setting the guestOS to "winHyperV" works great in vSphere, but on import to vCD it would get changed to "32bit other" (I don't recall the exact lettering).

0 Kudos