| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The cut-down kernel had nf_tables, with IPv4, NAT and conntrack (and
bridges, taps and veths), but not the inet, IPv6 and bridge families,
nor ct count, limit, log, reject, fib, redirect and masquerade, which
modules/host's rules use, so a guest (with --nested, for KVM) couldn't
run guests of its own, nor test modules/host. Now it has them, built
in, like the rest of its netfilter.
|
| |
|
|
|
|
|
|
|
|
| |
Firecracker's guest configuration has no KVM, so a guest had no
/dev/kvm, even where the VMM offered hardware virtualization (Cloud
Hypervisor does by default, its CPUs show svm), and nothing could be
tested in a VM there, not even a NixOS VM test. Now the cut-down
kernel has KVM (and kvm-amd, kvm-intel) as modules, which udev loads
when the CPU has svm or vmx, i.e. when the VMM offers it (see
run-firecracker-vm --nested).
|
|
|
kernelPackages and caCert
The base system could only be changed by its two arguments, and a
kernel set in a layer was a conflict with the base's plain
boot.kernelPackages = kernelPackages. Now base takes NixOS modules,
merged into the base system, i.e. layer 0 and its image, so what all
layers share goes there, the kernel above all: kernel.nix is such a
module now, and no package any more, so it moves to base/ (--arg base
'[ base/kernel.nix ]', like --arg layers '[ layers/nix.nix ]'), and the
base's linuxPackages_latest is only a default. A layer can set the
kernel, too, now, but then the base image keeps its own kernel's
modules (161M for linuxPackages_latest), unused.
caCert wasn't used: the egress proxy's CA stays where modules/host puts
it, picked up if it's there; another one is
security.pki.certificateFiles, in base or a layer.
|