2019-06-07 19:41:38 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
|
|
|
Date: Fri, 7 Jun 2019 21:16:42 +0200
|
|
|
|
Subject: [PATCH] Revert "KVM: VMX: enable nested virtualization by default"
|
|
|
|
|
|
|
|
This reverts commit 1e58e5e59148916fa43444a406335a990783fb78
|
|
|
|
|
|
|
|
As we're not yet there, and this effectively breaks live migration
|
|
|
|
for all VMs using host or +vmx which did not manually enabled nesting
|
|
|
|
|
|
|
|
Those which already enabled nesting manually have already breakage,
|
|
|
|
but that was something to expect. The situation will get better in
|
|
|
|
the future (probably post qemu 4.1).
|
|
|
|
|
|
|
|
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
|
|
|
---
|
|
|
|
arch/x86/kvm/vmx/vmx.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
|
2020-05-15 12:02:12 +00:00
|
|
|
index 72f51275247e..597fe6f70d97 100644
|
2019-06-07 19:41:38 +00:00
|
|
|
--- a/arch/x86/kvm/vmx/vmx.c
|
|
|
|
+++ b/arch/x86/kvm/vmx/vmx.c
|
2019-09-05 08:20:16 +00:00
|
|
|
@@ -103,7 +103,7 @@ module_param(enable_apicv, bool, S_IRUGO);
|
2019-06-07 19:41:38 +00:00
|
|
|
* VMX and be a hypervisor for its own guests. If nested=0, guests may not
|
|
|
|
* use VMX instructions.
|
|
|
|
*/
|
|
|
|
-static bool __read_mostly nested = 1;
|
|
|
|
+static bool __read_mostly nested = 0;
|
|
|
|
module_param(nested, bool, S_IRUGO);
|
|
|
|
|
|
|
|
static u64 __read_mostly host_xss;
|