Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9379

Support nested virtualization at VM level on VMware Hypervisor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.9.0
    • 4.10.0.0
    • VMware
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Introduction

      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:

      • (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. (1) = TRUE, (2) = TRUE, (3) is null -> ENABLED
      2. (1) = TRUE, (2) = TRUE, (3) = TRUE -> ENABLED
      3. (1) = TRUE, (2) = TRUE, (3) = FALSE -> DISABLED
      4. (1) = TRUE, (2) = FALSE -> ENABLED
      5. (1) = FALSE, (2) = TRUE, (3) is null -> DISABLED
      6. (1) = FALSE, (2) = TRUE, (3) = TRUE -> ENABLED
      7. (1) = FALSE, (2) = TRUE, (3) = FALSE -> DISABLED
      8. (1) = FALSE, (2) = FALSE -> DISABLED

      Attachments

        Issue Links

          Activity

            People

              nicolas.vazquez Nicolas Vazquez
              nicolas.vazquez Nicolas Vazquez
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: