Skip to content

DRAFT: vm isolation#2

Draft
SomeoneSerge wants to merge 8 commits into
masterfrom
feat/vms
Draft

DRAFT: vm isolation#2
SomeoneSerge wants to merge 8 commits into
masterfrom
feat/vms

Conversation

@SomeoneSerge

Copy link
Copy Markdown
Contributor

Motivation:

  • Hydra does not need access to GPUs. Probably doesn't even need to see the store paths coming from untrusted (Flox, nix-community) substituters (idk yet if it pulls outputs into the store, or sees the nar files).
  • Builders do not need to access Hydra signing key, or postgres, or SSH host keys.

Proposal:

  • Allocate VMs per builder (using vfio-pci for GPUs), and for Hydra
  • Do not run nor install anything besides the vmm in the hypervisor

Make it possible to eval & build system without flakes.
Flakes are a de facto unmaintained feature breaking reproducibility and UX
Observing empty /sys/kernel/iommu_groups/ without it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant