]>
Commit | Line | Data |
---|---|---|
6ac09c54 TL |
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
2 | From: Thomas Lamprecht <t.lamprecht@proxmox.com> | |
3 | Date: Fri, 7 Jun 2019 21:16:42 +0200 | |
4 | Subject: [PATCH] Revert "KVM: VMX: enable nested virtualization by default" | |
5 | ||
6 | This reverts commit 1e58e5e59148916fa43444a406335a990783fb78 | |
7 | ||
8 | As we're not yet there, and this effectively breaks live migration | |
9 | for all VMs using host or +vmx which did not manually enabled nesting | |
10 | ||
11 | Those which already enabled nesting manually have already breakage, | |
12 | but that was something to expect. The situation will get better in | |
13 | the future (probably post qemu 4.1). | |
14 | ||
15 | Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> | |
16 | --- | |
17 | arch/x86/kvm/vmx/vmx.c | 2 +- | |
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
19 | ||
20 | diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c | |
6b841d38 | 21 | index 3be65495aeb8..8a600e93450f 100644 |
6ac09c54 TL |
22 | --- a/arch/x86/kvm/vmx/vmx.c |
23 | +++ b/arch/x86/kvm/vmx/vmx.c | |
ba68212d | 24 | @@ -103,7 +103,7 @@ module_param(enable_apicv, bool, S_IRUGO); |
6ac09c54 TL |
25 | * VMX and be a hypervisor for its own guests. If nested=0, guests may not |
26 | * use VMX instructions. | |
27 | */ | |
28 | -static bool __read_mostly nested = 1; | |
29 | +static bool __read_mostly nested = 0; | |
30 | module_param(nested, bool, S_IRUGO); | |
31 | ||
32 | static u64 __read_mostly host_xss; |