[CRIU] [PATCH 07/12] x86: cpu -- Update default cpu-cap option

Cyrill Gorcunov gorcunov at gmail.com
Thu Aug 30 14:00:22 MSK 2018


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

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
Reviewed-by: Dmitry Safonov <0x7f454c46 at gmaill.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.17.1



More information about the CRIU mailing list