about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/machines.cc
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-03-18T10·09+0200
committerflokli <flokli@flokli.de>2024-04-16T18·45+0000
commitcf47294b9ee7887ca1f21db34d48c346e89f9cec (patch)
tree26242f47abf091e0e3281a9727d7ae31af9242c4 /third_party/nix/src/libstore/machines.cc
parent538d5fc8eef825f97add6a34f708d9a6b87a3ebd (diff)
feat(tvix/boot): boot nixos VM r/7951
This makes use of the vmCmdline and assertVMOutput to boot a NixOS VM
off of `tvix-store virtiofs` have it write a message on successful
bootup, then have it shut down again.

We check we see the message in the output.

Seeding the store with the closure it's what's currently taking most
of the time (as it's all linear still), so log a message before booting
the VM.

Change-Id: I6887d935f589eb0ad6507033c01337e1ec500a0b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11191
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix/src/libstore/machines.cc')
0 files changed, 0 insertions, 0 deletions