Line 135: |
Line 135: |
| | | |
| Note you might have to enable | | Note you might have to enable |
− | ; <code>CONFIG_EXPERT</code> | + | ; <code>CONFIG_EXPERT=y</code> |
| : General setup -> Configure standard kernel features (expert users) | | : General setup -> Configure standard kernel features (expert users) |
| option, which depends on | | option, which depends on |
− | ; <code>CONFIG_EMBEDDED</code> | + | ; <code>CONFIG_EMBEDDED=y</code> |
| : General setup -> Embedded system | | : General setup -> Embedded system |
| (welcome to Kconfig reverse chains hell). | | (welcome to Kconfig reverse chains hell). |
Line 144: |
Line 144: |
| The following options must be enabled for CRIU to work: | | The following options must be enabled for CRIU to work: |
| | | |
− | ; <code>CONFIG_CHECKPOINT_RESTORE</code> | + | ; <code>CONFIG_CHECKPOINT_RESTORE=y</code> |
| : General setup -> Checkpoint/restore support | | : General setup -> Checkpoint/restore support |
| | | |
− | ; <code>CONFIG_NAMESPACES</code> | + | ; <code>CONFIG_NAMESPACES=y</code> |
| : General setup -> Namespaces support | | : General setup -> Namespaces support |
| | | |
− | ; <code>CONFIG_UTS_NS</code> | + | ; <code>CONFIG_UTS_NS=y</code> |
| : General setup -> Namespaces support -> UTS namespace | | : General setup -> Namespaces support -> UTS namespace |
| | | |
− | ; <code>CONFIG_IPC_NS</code> | + | ; <code>CONFIG_IPC_NS=y</code> |
| : General setup -> Namespaces support -> IPC namespace | | : General setup -> Namespaces support -> IPC namespace |
| | | |
− | ; <code>CONFIG_PID_NS</code> | + | ; <code>CONFIG_PID_NS=y</code> |
| : General setup -> Namespaces support -> PID namespaces | | : General setup -> Namespaces support -> PID namespaces |
| | | |
− | ; <code>CONFIG_NET_NS</code> | + | ; <code>CONFIG_NET_NS=y</code> |
| : General setup -> Namespaces support -> Network namespace | | : General setup -> Namespaces support -> Network namespace |
| | | |
− | ; <code>CONFIG_FHANDLE</code> | + | ; <code>CONFIG_FHANDLE=y</code> |
| : General setup -> open by fhandle syscalls | | : General setup -> open by fhandle syscalls |
| | | |
− | ; <code>CONFIG_EVENTFD</code> | + | ; <code>CONFIG_EVENTFD=y</code> |
| : General setup -> Enable eventfd() system call | | : General setup -> Enable eventfd() system call |
| | | |
− | ; <code>CONFIG_EPOLL</code> | + | ; <code>CONFIG_EPOLL=y</code> |
| : General setup -> Enable eventpoll support | | : General setup -> Enable eventpoll support |
| | | |
− | ; <code>CONFIG_INOTIFY_USER</code> | + | ; <code>CONFIG_INOTIFY_USER=y</code> |
| : File systems -> Inotify support for userspace | | : File systems -> Inotify support for userspace |
| | | |
− | ; <code>CONFIG_IA32_EMULATION</code> | + | ; <code>CONFIG_IA32_EMULATION=y</code> (x86 only) |
| : Executable file formats -> Emulations -> IA32 Emulation | | : Executable file formats -> Emulations -> IA32 Emulation |
| | | |
− | ; <code>CONFIG_UNIX_DIAG</code> | + | ; <code>CONFIG_UNIX_DIAG=y</code> |
| : Networking support -> Networking options -> Unix domain sockets -> UNIX: socket monitoring interface | | : Networking support -> Networking options -> Unix domain sockets -> UNIX: socket monitoring interface |
| | | |
− | ; <code>CONFIG_INET_DIAG</code> | + | ; <code>CONFIG_INET_DIAG=y</code> |
| : Networking support -> Networking options -> TCP/IP networking -> INET: socket monitoring interface | | : Networking support -> Networking options -> TCP/IP networking -> INET: socket monitoring interface |
| | | |
− | ; <code>CONFIG_INET_UDP_DIAG</code> | + | ; <code>CONFIG_INET_UDP_DIAG=y</code> |
| : Networking support -> Networking options -> TCP/IP networking -> INET: socket monitoring interface -> UDP: socket monitoring interface | | : Networking support -> Networking options -> TCP/IP networking -> INET: socket monitoring interface -> UDP: socket monitoring interface |
| | | |
− | ; <code>CONFIG_PACKET_DIAG</code> | + | ; <code>CONFIG_PACKET_DIAG=y</code> |
| : Networking support -> Networking options -> Packet socket -> Packet: sockets monitoring interface | | : Networking support -> Networking options -> Packet socket -> Packet: sockets monitoring interface |
| | | |
− | ; <code>CONFIG_NETLINK_DIAG</code> | + | ; <code>CONFIG_NETLINK_DIAG=y</code> |
| : Networking support -> Networking options -> Netlink socket -> Netlink: sockets monitoring interface | | : Networking support -> Networking options -> Netlink socket -> Netlink: sockets monitoring interface |
| | | |
| For some [[usage scenarios]] there is an ability to track memory changes and produce [[incremental dumps]]. Need to enable | | For some [[usage scenarios]] there is an ability to track memory changes and produce [[incremental dumps]]. Need to enable |
− | ; <code>CONFIG_MEM_SOFT_DIRTY</code> | + | ; <code>CONFIG_MEM_SOFT_DIRTY=y</code> (optional) |
| : Processor type and features -> Track memory changes | | : Processor type and features -> Track memory changes |
| | | |
| At the moment it's known that CRIU will '''NOT''' work if packet generator module is loaded. Thus make sure | | At the moment it's known that CRIU will '''NOT''' work if packet generator module is loaded. Thus make sure |
| that either module is unloaded or not compiled at all. | | that either module is unloaded or not compiled at all. |
− | ; <code>CONFIG_NET_PKTGEN</code> | + | ; <code># CONFIG_NET_PKTGEN is not set</code> |
| : Networking support -> Networking options -> Network testing -> Packet generator | | : Networking support -> Networking options -> Network testing -> Packet generator |
| | | |