GitHub user nvazquez opened a pull request:

    https://github.com/apache/cloudstack/pull/1542

    CLOUDSTACK-9379: Support nested virtualization at VM level on VMware 
Hypervisor

    ## Introduction
    
    [JIRA TICKET](https://issues.apache.org/jira/browse/CLOUDSTACK-9379)
    
    It is desired to support nested virtualization at VM level for VMware 
hypervisor. Current behaviour supports enabling/desabling global nested 
virtualization by modifying global config `'vmware.nested.virtualization'`. It 
is wished to improve this feature, having control at VM level instead of a 
global control only.
    
    ## Proposal
    
    A new global configuration is added, to enable/disable VM nested 
virtualization control: `'vmware.nested.virtualization.perVM'`. Default 
value=false
    
    ## Behaviour
    After a vm deployment or start command, vm params include 
`'nestedVirtualizationFlag'` key and its value is:
    * true -> nested virtualization enabled
    * false -> nested virtualization disabled
    
    **We will determinate nested virtualization enabled/disabled by examining 
this 3 values:**
    * **(1)** global configuration `'vmware.nested.virtualization'` value
    * **(2)** global configuration `'vmware.nested.virtualization.perVM'` value
    * **(3)** `'nestedVirtualizationFlag'` value in `user_vm_details` if 
present, `null` if not.
    
    Using this 3 values, there are different use cases:
    * **(1)** = TRUE, **(2)** = TRUE, **(3)** is null -> _ENABLED_
    * **(1)** = TRUE, **(2)** = TRUE, **(3)** = TRUE -> _ENABLED_
    * **(1)** = TRUE, **(2)** = TRUE, **(3)** = FALSE -> _DISABLED_
    * **(1)** = TRUE, **(2)** = FALSE, **(3)** indifferent  -> _ENABLED_
    * **(1)** = FALSE, **(2)** = TRUE, **(3)** is null -> _DISABLED_
    * **(1)** = FALSE, **(2)** = TRUE, **(3)** = TRUE -> _ENABLED_
    * **(1)** = FALSE, **(2)** = TRUE, **(3)** = FALSE -> _DISABLED_
    * **(1)** = FALSE, **(2)** = FALSE, **(3)** indifferent -> _DISABLED_

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nvazquez/cloudstack nestedv

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1542.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1542
    
----
commit 66a4a842bff1a8e8d1bb15fea12fb3b005b1c1d7
Author: nvazquez <nicolas.m.vazq...@gmail.com>
Date:   2016-05-09T20:06:02Z

    CLOUDSTACK-9379: Support nested virtualization at VM level on VMware 
Hypervisor

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to