aboutsummaryrefslogtreecommitdiffstats
path: root/kernel.nix
Commit message (Collapse)AuthorAgeFilesLines
* xchg: serve it via 9P over TCP instead of copying an ext4 imagetv10 days1-0/+2
| | | | | | | | | | The run script starts unpfs (as the user) on 172.16.0.1, port 5640 plus the tap's number, and tells the guest to mount it at /xchg via systemd.mount-extra on the kernel command line. VMs started in the same directory share xchg, writes land on the host right away, and nothing is lost when a guest doesn't shut down cleanly. No more debugfs rdump. The cut-down kernel gets 9P as modules.
* add optional cut-down guest kerneltv11 days1-0/+32
kernel.nix builds Linux 6.18 with Firecracker's recommended guest configuration (resources/guest_configs/microvm-kernel-ci-x86_64-6.18.config), plus erofs as a module. Use it with nix-build --arg kernelPackages 'import ./kernel.nix {}' Everything Firecracker needs is built in, so NixOS' default initrd modules (ahci, efivarfs, ...) don't exist; allowMissingModules lets the initrd build anyway.