aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/run-firecracker-vm/kernel.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 21:38:56 +0000
committertv <tv@krebsco.de>2026-11-16 21:38:56 +0000
commit0d9bdecb42cb491584923f870a07a92d851dde23 (patch)
tree74f6f23fc4bec2084dba39f60af70b04763a4b0e /pkgs/run-firecracker-vm/kernel.nix
parentc7e2c1e6043fd942c02a6d0b9bbbca13554b7c38 (diff)
serve the host's store to the guest instead of building an image
The erofs image of the closure grew to 7 GiB with nixpkgs in it. Now only /etc is erofs, and the run script serves the host's /nix/store read-only via 9P over vsock, like xchg, and the guest's initrd mounts it, under the tmpfs overlay. No drive, no image, no cache, no image builds. mount.xchg becomes mount.vsock9p, taking the vsock port, for both. The registration of the guest's closure comes from closureInfo now, passed on the kernel command line. run-firecracker-vm no longer takes store paths: the guest sees the whole store anyway.
Diffstat (limited to 'pkgs/run-firecracker-vm/kernel.nix')
0 files changed, 0 insertions, 0 deletions