Commit graph

35 commits

Author SHA1 Message Date
Else Someone
42180096af baseImage: tinkering with overcommit 2026-03-22 16:19:11 +02:00
Else Someone
3540b5aba2 uvms: support .desktop applications 2026-03-15 02:16:16 +02:00
Else Someone
f8cc57f146 fixup! uvms: churn 2026-03-11 17:38:49 +02:00
Else Someone
add1c4f6bd uvms: churn 2026-03-10 02:01:54 +02:00
Else Someone
cf95fd33b0 uvms: add --mem
Yeah, yeah, I know, it's stupid, adding add_argument() statements
manually, et c. I'll throw the whole Python thing away whenever I might
have the time
2026-03-07 21:16:53 +02:00
Else Someone
db4e7809d1 uvms: start actually using the recompiled kernel
...still with an initrd, and very much not useful - bot it boots!
2026-03-04 01:41:33 +02:00
Else Someone
a40925c341 baseImage: overridable uvmsPkgs/inherit from scope 2026-03-02 10:49:32 +02:00
Else Someone
00ae88e8ad uvms-guest: select() to detect dead subprocesses 2026-03-02 05:07:52 +02:00
Else Someone
384b45bdef pkgs.uvms: init
...with some basic optional persistence and without having to rebuild
images for every app

nix run -f . pkgs.uvms -- --persist-home librewolf alacritty --run librewolf --run alacritty
2026-02-27 18:26:41 +02:00
Else Someone
22b613d157 linux-uvm: start adding overrides
...from spectrum and libkrunfw
2026-02-26 02:36:23 +02:00
Else Someone
f193787f4e ch-runner: move the supervise/uvms script out 2026-02-25 23:37:14 +02:00
Else Someone
660bda3a4a ch-runner: add wayland-proxy 2026-02-25 17:37:39 +02:00
Else Someone
e077ad6858 ch-runner: move wait/cleanup out of start_virtiofsd 2026-02-24 01:21:21 +02:00
Else Someone
8d1324da03 ch-runner: move wait() out of run_ch 2026-02-23 22:32:32 +02:00
Else Someone
04befb6328 ch-runner: run CH in bwrap
Albeit rather relaxed
2026-02-23 06:35:32 +02:00
Else Someone
a3ed9cb4ea fixup! ch-runner: add minimal virtiofsd support 2026-02-21 18:36:52 +02:00
Else Someone
7516eae7a6 ch-runner: add minimal virtiofsd support
Somehow it doesnt work if I open the socket in python
and try to inherit it. Also didnt work with bwrap.
And theres a bunch of warnings that virtiofsd keeps printing.
Need investigation
2026-02-21 18:11:37 +02:00
Else Someone
342a1dfe3a ch-runner: another iter of cleanup prior to moving things around 2026-02-20 10:50:31 +02:00
Else Someone
97f2ba4c66 ch-runner: move more logic out of elb 2026-02-19 19:24:44 +02:00
Else Someone
0617d97ebf ch-runner: just move the cleanup bits out of elb
Execlineb is insane. Skarnet is insane. POSIX is cancer,
but elb seems to make it worse. Or it s a skill issue.
I see no way to do any kind of error handling with elb,
and that is even despite me only needing one kind of error handling:
the cleaning up...
2026-02-18 16:27:13 +02:00
Else Someone
ee497cb7d6 ch-runner: drop passt from the PoC 2026-02-12 22:22:06 +02:00
Else Someone
17bde34c96 taps: MVE
EIO crash in CH was caused by CH trying to writev
before the interface has been assigned any addresses;
adding an address prior to passing the FD (via 80-vm-vt.network)
solves the issue. It is still unclear what causes the interrupt=None
in the vhost_user/passt branch
2026-02-12 20:23:55 +02:00
Else, Someone
564913c123 fixup! taps: wip: init 2026-01-28 07:19:32 +02:00
Else, Someone
dc583da67e runInVM: split out
...the ${vmName} argument was kept for compat, which is no longer necessary
2025-10-26 20:49:14 +02:00
Else, Someone
6dcd2a370a vmapp-demo: copypaste-ability 2025-10-09 20:55:48 +03:00
Else, Someone
5f58a2ebb2 fixup! profiles: init (vsock ssh &c.) 2025-10-09 05:14:06 +03:00
Else, Someone
665fd95d70 cloud-hypervisor sockets: use spectrum names
- CONNECT.sock → vsock.sock
- ch.sock → vmm.sock
2025-10-09 05:14:06 +03:00
Else, Someone
6dcbe5b3d7 zswap in uvms: optional/configurable 2025-10-09 05:14:06 +03:00
Else, Someone
0bebc13927 vsock ssh: set up UNKNOWN /etc/hosts in initrd too 2025-10-09 04:12:06 +03:00
Else, Someone
33d33e745b ch-runner: make initrd systemd optional 2025-10-09 04:11:37 +03:00
Else, Someone
1b889d5b19 resources.nix: prevent infinite recursion 2025-10-09 04:11:18 +03:00
Else, Someone
724e7bd062 treewide: nixfmt . 2025-09-25 16:13:29 +03:00
Else, Someone
a25e51e7da profiles/vmapp-demo: init MVE
...moving bits and pieces from .dotfiles
2025-09-21 00:58:30 +03:00
Else, Someone
28d3f89ad4 pkgs.writeErofsLayers,profiles/ch-runner: MVE
$ nix-build -A examples.dummy.config.debug.closure.erofs.list | xargs
cat | xargs du -h
749M    /nix/store/bzfv5x6lycq6hzhjv6d6vlk1q8fdg9di-base0.erofs
24M     /nix/store/hp41jfq36y0mmjrzqilyh3jfsvqic3kb-nixos.erofs

$ nix run -f . examples.dummy.config.uvms.cloud-hypervisor.runner
...
<<< Welcome to NixOS 25.11pre-git (x86_64) - ttyS0 >>>

nixos login:

The definition of the `pkgs` fixpoint was moved to pkgs/default.nix.
For that, dirToAttrs was moved to lib/, imported ad hoc
2025-09-21 00:57:11 +03:00
Else, Someone
1828835a1d profiles: init (vsock ssh &c.) 2025-09-19 16:30:05 +03:00