[CRIU] [PATCH 17/18] x86: cpu -- Allow to proceed xsaves silently

Cyrill Gorcunov gorcunov at gmail.com
Thu Jul 19 15:47:45 MSK 2018


We fully support xsaves now, so no need for
warning or any other message.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 criu/arch/x86/cpu.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/criu/arch/x86/cpu.c b/criu/arch/x86/cpu.c
index e9c24af846e9..6ce2e88f37dd 100644
--- a/criu/arch/x86/cpu.c
+++ b/criu/arch/x86/cpu.c
@@ -32,15 +32,8 @@ static compel_cpuinfo_t rt_cpu_info;
 static int cpu_has_unsupported_features(void)
 {
 	/*
-	 * We don't support yet compacted xsave format so
-	 * exit early if present.
+	 * Put any unsupported features here.
 	 */
-	if (compel_cpu_has_feature(X86_FEATURE_XSAVES)) {
-		pr_warn("Unsupported compact xsave frame on runtime cpu present\n");
-		pr_warn("FIXME: Dazen and confused, but proceed for development reason\n");
-		return 0;
-	}
-
 	return 0;
 }
 
-- 
2.14.4



More information about the CRIU mailing list