| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
So default.nix (or shell.nix, flake.nix) at the top can become something
else. kernel.nix goes along, as it's only an argument of the runner.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
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.
|