vmx: make !EPT error messages consistent
Paolo Bonzini
maintainerPATCH 1/1 vmx: make !EPT error messages consistent
Always add a \t at the beginning and a \n at the end.
Signed-off-by Paolo Bonzini <[email protected]>
--- x86/vmx_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
x86/vmx_tests.c +2 -2
@@ -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