-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkmorph.conf.example
More file actions
64 lines (46 loc) · 1.99 KB
/
Copy pathkmorph.conf.example
File metadata and controls
64 lines (46 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# kmorph configuration. Install as /etc/kmorph/kmorph.conf on the
# predecessor and at the same path in the successor initramfs; kmorph
# and kmorphd read the same file.
#
# kernel, cpus and memory are required to arm. Every other key is
# optional and shown at its default.
# --- Successor (predecessor side, read by kmorph) ---
# Kernel image: an ELF vmlinux or a bzImage.
kernel = /boot/vmlinuz
# Initramfs for the successor. Default: the image 'kmorph init' writes.
#initrd = /var/lib/kmorph/successor.img
# CPUs for the successor, as physical (APIC) ids, e.g. 1 or 12-15,20.
cpus = 1
# Memory for the successor, e.g. 128MB or 4GB.
memory = 128MB
# Kernel command line for the successor.
#cmdline = earlyprintk=serial,ttyS0,115200 keep_bootcon
# Devices handed to the successor, comma separated: PCI addresses or
# the names sysfs knows them by (a network interface, a block device,
# a framebuffer, a USB bus).
#devices = enp9s0, nvme1n1
# Instance name in /sys/fs/multikernel/instances.
#name = successor
# Every CPU on the machine. Set only on a machine without ACPI.
#machine_cpus = 0-3
# Kernel modules the distro image builders add to the successor image,
# comma separated: the vsock transport when it is a module, drivers for
# devices handed to the successor. Ignored by the kmorph init image.
#modules = mk_transport
# --- Detection and takeover (successor side, read by kmorphd) ---
# How often the predecessor is probed.
#probe_interval = 100ms
# Consecutive timed-out probes before the predecessor is declared dead.
#probe_timeouts = 5
# Retries of a fence that could not park every CPU.
#fence_retries = 3
# File to receive the predecessor's memory as a vmcore before it is
# reclaimed. A FIFO works. Unset: reclaim at once.
#dump = /var/crash/predecessor.vmcore
# Serial line the successor takes over after the crash.
#console = ttyS0
# Speed of that line.
#console_baud = 115200
# Program the getty runs instead of login, e.g. /bin/sh for an image
# without accounts.
#console_login = /bin/sh