mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +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
1 changed files with 6 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue