Expand description
Wrapper for configuring the memory and CPU of the microVM.
Structs§
- Machine
Config - Struct used in PUT
/machine-configAPI call. - Machine
Config Update - Struct used in PATCH
/machine-configAPI call. Used to updateMachineConfiginVmResources. This struct mirrors all the fields inMachineConfig. All fields are optional, but at least one needs to be specified. If a field isSome(value)then we assume an update is requested for that field.
Enums§
- Huge
Page Config - Describes the possible (huge)page configurations for a microVM’s memory.
- Machine
Config Error - Errors associated with configuring the microVM.
Constants§
- DEFAULT_
MEM_ SIZE_ MIB - The default memory size of the VM, in MiB.
- MAX_
SUPPORTED_ VCPUS - Firecracker aims to support small scale workloads only, so limit the maximum vCPUs supported.