Skip to main content

Module machine_config

Module machine_config 

Source
Expand description

/machine-config request and response shapes.

Per 21-api-compat-matrix.md § 2 /machine-config:

fieldrule
vcpu_count1..=32 (D19 / MAX_SUPPORTED_VCPUS)
mem_size_mib>= 1; upper bound enforced at controller against host RAM
smtaccept false only; true rejected with the upstream-shaped fault
track_dirty_pagesbool, default false
cpu_templateSome("V1N1") ⇒ aarch64 sysreg subset; x86 templates ⇒ A (warn)
huge_pagesSome("2M") ⇒ A (warn); None default

Structs§

MachineConfig
Validated /machine-config PUT body.
MachineConfigPatch
Validated /machine-config PATCH body.
RawMachineConfig
Raw shape of the /machine-config PUT body, exactly as it arrives off the wire.
RawMachineConfigPatch
Raw shape of the /machine-config PATCH body — every field optional.