mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
x86: cpu -- Show additional xsave info on init
For debug sake. Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
7ddf8d6dc9
commit
72b6ac8d89
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user