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

Submitted by Cyrill Gorcunov on Aug. 7, 2018, 4:35 p.m.

Details

Message ID 20180807163517.21669-8-gorcunov@gmail.com
State New
Series "x86: cpu -- Rework feature testing"
Headers show

Commit Message

Cyrill Gorcunov Aug. 7, 2018, 4:35 p.m.
To preserve backward compatibility because
strict mode now lays under own block.

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

Patch hide | download patch | download mbox

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;

Comments

Dmitry Safonov Aug. 20, 2018, 12:32 p.m.
2018-08-07 17:35 GMT+01:00 Cyrill Gorcunov <gorcunov@gmail.com>:
> To preserve backward compatibility because
> strict mode now lays under own block.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>

Reviewed-by: Dmitry Safonov <0x7f454c46@gmaill.com>

Thanks,
             Dmitry