From a042f54b019dc4b1a9796dc0f5a49767c3ce5254 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 16 Nov 2026 17:25:06 +0000 Subject: xchg: serve it via 9P over TCP instead of copying an ext4 image 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel.nix') diff --git a/kernel.nix b/kernel.nix index 184a014..5b43d27 100644 --- a/kernel.nix +++ b/kernel.nix @@ -17,6 +17,8 @@ let buildPhase = '' cat ${firecrackerConfig} - > .config <