[CRIU] [PATCH 05/11] x86: cpu -- Show additional xsave info on init
Cyrill Gorcunov
gorcunov at gmail.com
Thu Jun 14 20:27:24 MSK 2018
For debug sake.
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
criu/arch/x86/cpu.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/criu/arch/x86/cpu.c b/criu/arch/x86/cpu.c
index b065a1f92476..b32b8824fa26 100644
--- a/criu/arch/x86/cpu.c
+++ b/criu/arch/x86/cpu.c
@@ -48,10 +48,14 @@ int cpu_init(void)
}
}
- pr_debug("fpu:%d fxsr:%d xsave:%d\n",
+ pr_debug("fpu:%d fxsr:%d xsave:%d xsaveopt:%d xsavec:%d xgetbv1:%d xsaves:%d\n",
!!compel_cpu_has_feature(X86_FEATURE_FPU),
!!compel_cpu_has_feature(X86_FEATURE_FXSR),
- !!compel_cpu_has_feature(X86_FEATURE_OSXSAVE));
+ !!compel_cpu_has_feature(X86_FEATURE_OSXSAVE),
+ !!compel_cpu_has_feature(X86_FEATURE_XSAVEOPT),
+ !!compel_cpu_has_feature(X86_FEATURE_XSAVEC),
+ !!compel_cpu_has_feature(X86_FEATURE_XGETBV1),
+ !!compel_cpu_has_feature(X86_FEATURE_XSAVES));
return 0;
}
--
2.14.4
More information about the CRIU
mailing list