Skip to main contentModule microvm
Source - FlakeRunConfig
- Configuration for running a Firecracker VM from flake-built artifacts.
- allocate_slot
- Allocate the next free slot index by scanning existing VMs.
- list_vms
- List all running VMs by scanning ~/microvm/vms/*/run-info.json.
- logs
- Show logs from a named VM.
- read_run_info
- Read persisted run info (returns None if file doesn’t exist).
- run_from_build
- Boot a Firecracker VM from flake-built artifacts (headless).
- start
- Full start sequence: network, firecracker, configure, boot (headless).
- stop
- Stop the microVM: kill Firecracker, clean up networking (legacy dev-mode).
- stop_all_vms
- Stop all running VMs.
- stop_vm
- Stop a specific named VM.