Skip to contentSkip to conversation

vmx: make !EPT error messages consistent

PATCH New Paolo Bonzini 1 participant 1 message Feb 18, 2021 KVM

lore
Share & tools
lore

Paolo Bonzini

author maintainer
#0 lore raw

PATCH 1/1 vmx: make !EPT error messages consistent

Always add a \t at the beginning and a \n at the end.

---
 x86/vmx_tests.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
x86/vmx_tests.c +2 -2
index f9883f0..bbb006a 100644
@@ -1032,11 +1032,11 @@ static int __setup_ept(u64 hpa, bool enable_ad)
 {
 	if (!(ctrl_cpu_rev[0].clr & CPU_SECONDARY) ||
 	    !(ctrl_cpu_rev[1].clr & CPU_EPT)) {
-		printf("\tEPT is not supported");
+		printf("\tEPT is not supported\n");
 		return 1;
 	}
 	if (!(ept_vpid.val & EPT_CAP_WB)) {
-		printf("WB memtype for EPT walks not supported\n");
+		printf("\tWB memtype for EPT walks not supported\n");
 		return 1;
 	}
 	if (!(ept_vpid.val & EPT_CAP_PWL4)) {
Signature · 1 line
2.26.2