Skip to content

Commit

Permalink
No support for double nested 64 bit guest using VCDriver
Browse files Browse the repository at this point in the history
64bit instances launched on ESX via the VCDriver will not
support running 64bit guests. There is an option that can
be passed during the vmx creation that will allow for this
to happen. This is very useful if you want to run hypervisors
 (esx, kvm) on top of ESX and then run 64bit VMs on top of
those hypervisors.

Fixes bug 1192256

Change-Id: Id6eb224c97569737cbb41f1b64f61805e1df004e
  • Loading branch information
Jacob Cherkas committed Jun 18, 2013
1 parent 880ddfb commit 8f64193
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nova/virt/vmwareapi/vm_util.py
Expand Up @@ -50,6 +50,10 @@ def get_vm_create_spec(client_factory, instance, data_store_name,
config_spec.name = instance['uuid']
config_spec.guestId = os_type

# Allow nested ESX instances to host 64 bit VMs.
if os_type == "vmkernel5Guest":
config_spec.nestedHVEnabled = "True"

vm_file_info = client_factory.create('ns0:VirtualMachineFileInfo')
vm_file_info.vmPathName = "[" + data_store_name + "]"
config_spec.files = vm_file_info
Expand Down

0 comments on commit 8f64193

Please sign in to comment.