Building a kernel with cooperative memory management

7.1 z/VM guest

To build a kernel with support for cooperative memory management, you must select option CONFIG_CMM in the configuration menu.

Kernel builders: This information is intended for those who want to build their own kernel. Be aware that both compiling your own kernel or recompiling an existing distribution usually means that you have to maintain your kernel yourself.

Figure 1 shows option CONFIG_CMM in the configuration menu. It also shows the options that you need in addition if you are using VMRM.

Figure 1. CMM and related kernel configuration menu options
 Virtualization --->
    ...
    Cooperative memory management                                              (CONFIG_CMM)     
    └─ IUCV special message interface to cooperative memory management         (CONFIG_CMM_IUCV)
    ...
 Networking support --->                                    (common code option CONFIG_NET)
    ...
    Networking options --->
       ...
       IUCV support (S390 - z/VM only)                                         (CONFIG_IUCV)    
 Device Drivers --->
    ...
    Network device support --->                             (common code option CONFIG_NETDEVICES)
       ...
       S/390 network device drivers (depends on NETDEVICES && S390) --->
          ...
          IUCV special message support (VM only)                               (CONFIG_SMSGIUCV)
CONFIG_CMM
This option includes the cooperative memory management support, which is available as a separate module, cmm, or built into the kernel.
CONFIG_CMM_IUCV
This option is required if you are using VMRM.
CONFIG_IUCV
This option is required for CONFIG_SMSGIUCV.
CONFIG_SMSGIUCV
This option is required for CONFIG_CMM_IUCV.