diff --git a/internal/cubecos/tuning.go b/internal/cubecos/tuning.go index 045b2a6b..2b39638a 100644 --- a/internal/cubecos/tuning.go +++ b/internal/cubecos/tuning.go @@ -101,6 +101,7 @@ const ( NovaLiveResizeMaxVcpus = "nova.live.resize.max.vcpus" NovaLiveResizeMaxMemoryMb = "nova.live.resize.max.memory.mb" NovaLiveResizeMigrateTmout = "nova.live.resize.migrate.timeout" + NovaNestedVirtEnabled = "nova.nested.virt.enabled" NovaOvercommitCpuRatio = "nova.overcommit.cpu.ratio" NovaOvercommitDiskRatio = "nova.overcommit.disk.ratio" NovaOvercommitRamRatio = "nova.overcommit.ram.ratio" @@ -210,6 +211,8 @@ func setTuningToRoles() { tuningToRoles[NovaLiveResizeMaxVcpus] = novaLiveResizeRoles tuningToRoles[NovaLiveResizeMaxMemoryMb] = novaLiveResizeRoles tuningToRoles[NovaLiveResizeMigrateTmout] = novaLiveResizeRoles + // Only applied in nova.conf's [libvirt] section. + tuningToRoles[NovaNestedVirtEnabled] = nodes.ComputeRoles tuningToRoles[NovaOvercommitCpuRatio] = nodes.AllRoles tuningToRoles[NovaOvercommitDiskRatio] = nodes.AllRoles tuningToRoles[NovaOvercommitRamRatio] = nodes.AllRoles