mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
x86: cpu -- Show which exactly features are failing in fpu capability mode
For easier understanding what is failed. 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
8597a718a9
commit
625fbb3f97
1 changed files with 6 additions and 1 deletions
|
|
@ -250,7 +250,12 @@ static int cpu_validate_features(compel_cpuinfo_t *cpu_info)
|
|||
__mismatch_fpu_bit(X86_FEATURE_OSXSAVE) ||
|
||||
__mismatch_fpu_bit(X86_FEATURE_XSAVES)) {
|
||||
pr_err("FPU feature required by image "
|
||||
"is not supported on host.\n");
|
||||
"is not supported on host "
|
||||
"(fpu:%d fxsr:%d osxsave:%d xsaves:%d)\n",
|
||||
__mismatch_fpu_bit(X86_FEATURE_FPU),
|
||||
__mismatch_fpu_bit(X86_FEATURE_FXSR),
|
||||
__mismatch_fpu_bit(X86_FEATURE_OSXSAVE),
|
||||
__mismatch_fpu_bit(X86_FEATURE_XSAVES));
|
||||
return -1;
|
||||
} else
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue