We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 800173c commit 4c334c6Copy full SHA for 4c334c6
arch/x86/kvm/svm/svm.c
@@ -28,6 +28,7 @@
28
#include <linux/rwsem.h>
29
#include <linux/cc_platform.h>
30
#include <linux/smp.h>
31
+#include <linux/string_choices.h>
32
33
#include <asm/apic.h>
34
#include <asm/perf_event.h>
@@ -5332,7 +5333,7 @@ static __init int svm_hardware_setup(void)
5332
5333
/* Force VM NPT level equal to the host's paging level */
5334
kvm_configure_mmu(npt_enabled, get_npt_level(),
5335
get_npt_level(), PG_LEVEL_1G);
- pr_info("Nested Paging %sabled\n", npt_enabled ? "en" : "dis");
5336
+ pr_info("Nested Paging %s\n", str_enabled_disabled(npt_enabled));
5337
5338
/* Setup shadow_me_value and shadow_me_mask */
5339
kvm_mmu_set_me_spte_mask(sme_me_mask, sme_me_mask);
0 commit comments