mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add a new udev rule that is triggered when a KVM VM is started on the system the very first time. This rule reports over the sysfs CPI kernel interface that the system is a KVM host. Currently the cpi.service systemd unit already works with the CPI sysfs interface. Introduce a new internal utility script "cpictl" that is used by both the udev rule and the systemd unit to guarantee coordinated access to the kernel CPU interface. Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com> Reviewed-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com> Reviewed-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
21 lines
310 B
Plaintext
21 lines
310 B
Plaintext
#
|
|
# Apply control program identification (CPI) settings
|
|
#
|
|
# The system and sysplex names consist of up to eight characters of
|
|
# the following set: A-Z, 0-9, $, @, #, and blank.
|
|
|
|
#
|
|
# CPI system type
|
|
#
|
|
CPI_SYSTEM_TYPE="LINUX"
|
|
|
|
#
|
|
# CPI system name
|
|
#
|
|
CPI_SYSTEM_NAME=""
|
|
|
|
#
|
|
# CPI sysplex name
|
|
#
|
|
CPI_SYSPLEX_NAME=""
|