[CRIU] [PATCH 7/9] x86: cpu -- Update default cpu-cap option

Cyrill Gorcunov gorcunov at gmail.com
Tue Aug 7 19:35:15 MSK 2018


To preserve backward compatibility because
strict mode now lays under own block.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 criu/include/cr_options.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/include/cr_options.h b/criu/include/cr_options.h
index 8f2a9e8633cf..187f58c67a91 100644
--- a/criu/include/cr_options.h
+++ b/criu/include/cr_options.h
@@ -30,7 +30,7 @@
 #define CPU_CAP_INS		(1u << 2)	/* Instructions CPU capability */
 #define CPU_CAP_IMAGE		(1u << 3)	/* Write capability on dump and read on restore*/
 #define CPU_CAP_ALL		(CPU_CAP_FPU | CPU_CAP_CPU | CPU_CAP_INS)
-#define CPU_CAP_DEFAULT		(CPU_CAP_FPU)
+#define CPU_CAP_DEFAULT		(CPU_CAP_FPU | CPU_CAP_CPU)
 
 struct cg_root_opt {
 	struct list_head node;
-- 
2.14.4



More information about the CRIU mailing list