Changes

62 bytes added ,  11:03, 17 April 2017
→‎Configuring the kernel: Specify those options, that are not required by CRIU, but C/R supported
Line 164: Line 164:  
** <code>CONFIG_PACKET_DIAG=y</code> (Packet socket -> Packet: sockets monitoring interface)
 
** <code>CONFIG_PACKET_DIAG=y</code> (Packet socket -> Packet: sockets monitoring interface)
 
** <code>CONFIG_NETLINK_DIAG=y</code> (Netlink socket -> Netlink: sockets monitoring interface)
 
** <code>CONFIG_NETLINK_DIAG=y</code> (Netlink socket -> Netlink: sockets monitoring interface)
* Other options
+
 
** <code>CONFIG_INOTIFY_USER=y</code> (File systems -> Inotify support for userspace)
+
Other options not required by CRIU, but C/R supported (ZDTM may fail without them):
** <code>CONFIG_FANOTIFY=y</code> (File systems -> Filesystem wide access notification)
+
* <code>CONFIG_INOTIFY_USER=y</code> (File systems -> Inotify support for userspace)
** <code>CONFIG_MEMCG=y</code> (General setup -> Control Group support -> Memory controller)
+
* <code>CONFIG_FANOTIFY=y</code> (File systems -> Filesystem wide access notification)
** <code>CONFIG_CGROUP_DEVICE=y</code> (General setup -> Control Group support -> Device controller)
+
* <code>CONFIG_MEMCG=y</code> (General setup -> Control Group support -> Memory controller)
** <code>CONFIG_MACVLAN=y</code> (Device Drivers -> Network device support -> Network core driver support -> MAC-VLAN support)
+
* <code>CONFIG_CGROUP_DEVICE=y</code> (General setup -> Control Group support -> Device controller)
** <code>CONFIG_BRIDGE=y</code> (Networking support -> Networking options -> 802.1d Ethernet Bridging)
+
* <code>CONFIG_MACVLAN=y</code> (Device Drivers -> Network device support -> Network core driver support -> MAC-VLAN support)
** <code>CONFIG_IA32_EMULATION=y</code> (x86 only) (Executable file formats -> Emulations -> IA32 Emulation)
+
* <code>CONFIG_BRIDGE=y</code> (Networking support -> Networking options -> 802.1d Ethernet Bridging)
 +
* <code>CONFIG_IA32_EMULATION=y</code> (x86 only) (Executable file formats -> Emulations -> IA32 Emulation)
    
For some [[usage scenarios]] there is an ability to track memory changes and produce [[incremental dumps]]. Need to enable the <code>CONFIG_MEM_SOFT_DIRTY=y</code> (optional) (Processor type and features -> Track memory changes).
 
For some [[usage scenarios]] there is an ability to track memory changes and produce [[incremental dumps]]. Need to enable the <code>CONFIG_MEM_SOFT_DIRTY=y</code> (optional) (Processor type and features -> Track memory changes).
105

edits