[SRU][Q:linux-oracle][PATCH 1/1] UBUNTU: SAUCE: kvm: set `enable_virt_at_load` default to false
Vinicius Peixoto
vinicius.peixoto at canonical.com
Thu Jan 29 17:34:04 UTC 2026
From: Philip Cox <philip.cox at canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2139360
Having nested virtualisation enabled breaks live migration on OCI.
Currently, KVM will enable it at the module load time, instead of upon
launching the first VM, and since it is autoloaded at boot time this
breaks live migration completely. Thus, tweak the default value of
enable_virt_at_load in order to make nested virtualization disabled by
default.
Signed-off-by: Philip Cox <philip.cox at canonical.com>
Signed-off-by: Vinicius Peixoto <vinicius.peixoto at canonical.com>
---
virt/kvm/kvm_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 6c07dd423458..89a65f7ff15d 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -5555,7 +5555,7 @@ static struct miscdevice kvm_dev = {
};
#ifdef CONFIG_KVM_GENERIC_HARDWARE_ENABLING
-bool enable_virt_at_load = true;
+bool enable_virt_at_load = false;
module_param(enable_virt_at_load, bool, 0444);
EXPORT_SYMBOL_GPL(enable_virt_at_load);
--
2.51.0
More information about the kernel-team
mailing list