diff options
| author | Jacob Cherkas <jcherkas@nicira.com> | 2013-06-18 10:22:10 -0700 |
|---|---|---|
| committer | Jacob Cherkas <jcherkas@nicira.com> | 2013-06-18 10:34:20 -0700 |
| commit | 8f6419301e56f7104bc9ac76dcd2ba5aeed0cb43 (patch) | |
| tree | 407ce0d04de744a4f98086d50f881b5aa439403a /nova/virt | |
| parent | 880ddfb124428116600ad66de06c817c9f9de486 (diff) | |
| download | nova-8f6419301e56f7104bc9ac76dcd2ba5aeed0cb43.tar.gz nova-8f6419301e56f7104bc9ac76dcd2ba5aeed0cb43.tar.xz nova-8f6419301e56f7104bc9ac76dcd2ba5aeed0cb43.zip | |
No support for double nested 64 bit guest using VCDriver
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
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/vmwareapi/vm_util.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/virt/vmwareapi/vm_util.py b/nova/virt/vmwareapi/vm_util.py index fecac5bcc..117669700 100644 --- a/nova/virt/vmwareapi/vm_util.py +++ b/nova/virt/vmwareapi/vm_util.py @@ -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 |
