managing-vm-kernel: update default kernelopts files

This commit is contained in:
Marek Marczykowski-Górecki 2019-02-23 00:27:43 +01:00
parent 3bbb1d7d76
commit 3dab015cae
No known key found for this signature in database
GPG Key ID: F32894BE9684938A

View File

@ -210,12 +210,12 @@ mke2fs 1.42.12 (29-Aug-2014)
Kernel files structure
-----------------------
Kernel for a VM is stored in `/var/lib/qubes/vm-kernels/KERNEL_VERSION` directory (`KERNEL_VERSION` replaced with actual version). Qubes supports the following files there:
Kernel for a VM is stored in `/var/lib/qubes/vm-kernels/KERNEL_VERSION` directory (`KERNEL_VERSION` replaced with actual version). Qubes 4.x supports the following files there:
- `vmlinuz` - kernel binary (may not be a Linux kernel)
- `initramfs` - initramfs for the kernel to load
- `modules.img` - ext4 filesystem image containing Linux kernel modules (to be mounted at `/lib/modules`); additionally it should contain a copy of `vmlinuz` and `initramfs` in its root directory (for loading by qemu inside stubdomain)
- `default-kernelopts.txt` - default kernel options, in addition to those specified with `kernelopts` VM property
- `default-kernelopts-common.txt` - default kernel options, in addition to those specified with `kernelopts` qube property (can be disabled with `no-default-kernelopts` feature)
All the files besides `vmlinuz` are optional.