[CRIU] [PATCH] x86: cpu -- Proceed even if xsavec detected for dev reason
Cyrill Gorcunov
gorcunov at gmail.com
Tue Jun 19 10:53:00 MSK 2018
Andrew reported that previously he been able to c/r even
on the machine with xsavec enabled, so allow to process
for now.
P.S.I'm investigating the problem and to not block testing
process lets permit passing with xsaves bit present.
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
criu/arch/x86/cpu.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/criu/arch/x86/cpu.c b/criu/arch/x86/cpu.c
index 11a81863fd8a..66286ff0a76e 100644
--- a/criu/arch/x86/cpu.c
+++ b/criu/arch/x86/cpu.c
@@ -37,6 +37,10 @@ static int cpu_has_unsupported_features(void)
*/
if (compel_cpu_has_feature(X86_FEATURE_XSAVES)) {
pr_err("Unsupported compact xsave frame on runtime cpu present\n");
+ {
+ pr_warn("FIXME: Dazen and confused, but proceed for development reason\n");
+ return 0;
+ }
return 1;
}
--
2.14.4
More information about the CRIU
mailing list