x86: cpu -- Proceed even if xsavec detected for dev reason

Submitted by Cyrill Gorcunov on June 19, 2018, 7:53 a.m.

Details

Message ID 20180619075300.7341-1-gorcunov@gmail.com
State New
Series "x86: cpu -- Proceed even if xsavec detected for dev reason"
Headers show

Commit Message

Cyrill Gorcunov June 19, 2018, 7:53 a.m.
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@gmail.com>
---
 criu/arch/x86/cpu.c | 4 ++++
 1 file changed, 4 insertions(+)

Patch hide | download patch | download mbox

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;
 	}