| 7 Feb 2025 |
ElvishJerricco | ah ok that'll do then | 18:00:15 |
Arian | I can fix that too; but then will also have to default Audit=null in the stage-1 kernel config | 18:00:29 |
ElvishJerricco | yea best leave stage 1 out of it entirely if we can | 18:00:45 |
Arian | how is the stage-1 journal configured anyway? if at all? | 18:00:50 |
ElvishJerricco | it's not :P | 18:00:56 |
Arian | then I suggest we just don’t ship the socket in stage-1 | 18:01:11 |
ElvishJerricco | though I think there's an open issue about maybe duplicating the stage 2 config in stage 1 | 18:01:15 |
Arian | (which I think is already the case today?) | 18:01:30 |
ElvishJerricco | Yea, I think we currently don't ship that socket and I agree we probably shouldn't | 18:01:47 |
ElvishJerricco | so no action required, it seems | 18:02:15 |
Arian | good callout though | 18:02:24 |
| terrorjack joined the room. | 22:46:14 |
| 8 Feb 2025 |
| terrorjack set a profile picture. | 02:24:25 |
| terrorjack removed their profile picture. | 02:24:59 |
| @marcel:envs.net joined the room. | 20:27:51 |
| 9 Feb 2025 |
| infowski joined the room. | 22:34:51 |
| @tired:fairydust.space left the room. | 22:50:18 |
| 11 Feb 2025 |
Arian | hmm I wanna try to get systemd-vmspawn work | 11:57:38 |
Arian | it looks for firmware config in /usr/share/qemu/firmware and /etc/qemu/firmware
which obviously doesn’t work. but I have two options here:
- Make it in NixOS config to re-expose ${qemu}/share/qemu to /etc/qemu
- Patch systemd and add a dependency on qemu
| 11:59:20 |
Arian | option 1 seems better right? it’s calling qemu as a binary — it just needs to be able to discover the configs shipped with qemu | 11:59:45 |
ElvishJerricco | Depends on if you want to use this within the nix build sandbox, I guess | 12:02:01 |
K900 | Can you not give it a firmware at runtime? | 12:02:08 |
K900 | Also IIRC libvirt does something like that already with /run/libvirt/firmware | 12:03:00 |
K900 | So maybe there should be one standard place for that | 12:03:10 |
Arian | yeh there’s a —firmware argumentb | 12:03:41 |
Arian | but by default it points to /etc/qemu/firmware | 12:03:50 |
Arian | it’s just annoying to have to pass that in explicitly | 12:03:57 |
Arian | qemu needs to be installed in environment.systemPackages anyway. so might as well expose /etc/qemu/firmware I guess | 12:04:14 |
Arian |
$ systemd-vmspawn --linux /run/current-system/kernel --tpm no --initrd /run/current-system/initrd
░ Spawning VM nixos-stuff on /mnt/Projects/nixos-stuff.
░ Press Ctrl-] three times within 1s to kill VM.
Couldn't find OVMF firmware blob with Secure Boot support, falling back to OVMF firmware blobs without Secure Boot support.
qemu-kvm: -device vmgenid,guid=cc36b80c-97fa-4233-ad99-c246a2f48443: 'vmgenid' is not a valid device model name
| 12:13:06 |
Arian | urghh does qemu-kvm-aarch64 not support vmgenid? | 12:13:17 |