Structs§
- CidPids
- Contains potentially live cid and pids
- Vm
- Info for a vm
- VmConfig
- Holds some metainfo about a particular VM as well as SSH and QEMU-specific info
- VmId
- A virtual machine identifier
- VmReservation
- A freshly reserved state dir for a new VM
Enums§
Constants§
- CID_
FILENAME - File with the VM’s vsock CID in the VM’s state dir
- DAEMON_
LOG_ FILENAME - File with the daemonized vmexec’s stdout and stderr in the VM’s state dir
- QEMU_
PID_ FILENAME - File with QEMU’s pid in the VM’s state dir
- SESSION_
LOG_ FILENAME - File with the VM’s terminal output in the VM’s state dir
- VMEXEC_
PID_ FILENAME - File with vmexec’s pid in the VM’s state dir
- VM_
CONFIG_ FILENAME - File containing VM config in the VM’s state dir
Functions§
- get_vm
- Look up a single VM by id
- get_vms
- Get a list of
VmConfigs and their paths - reap_
dead_ vm_ dirs - Reap dead VMs that didn’t get cleaned up
- reserve_
vm - Reserve a state dir for a new VM
- stop_vm
- Stop a VM