aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index fb5d6c2e6a08..9e29a13136c4 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -426,8 +426,10 @@ static __init int svm_hardware_setup(void)
426 npt_enabled = false; 426 npt_enabled = false;
427 } 427 }
428 428
429 if (npt_enabled) 429 if (npt_enabled) {
430 printk(KERN_INFO "kvm: Nested Paging enabled\n"); 430 printk(KERN_INFO "kvm: Nested Paging enabled\n");
431 kvm_enable_tdp();
432 }
431 433
432 return 0; 434 return 0;
433 435