Expand description
/cpu-config PUT body.
Per 21-api-compat-matrix.md /cpu-config
PUT:
- aarch64
reg_modifiersandvcpu_features—F (best-effort). - x86
cpuid_modifiersandmsr_modifiers—A(accept-and-warn). kvm_capabilities—A.
At this layer we keep the shape loose (each subtree is a serde_json::Value) and
defer the per-register honor/warn decision to the VMM. Validation here is structural:
deny unknown top-level fields and enforce the per-class collection caps.
Structs§
- CpuConfig
- Validated
/cpu-configPUT body. - RawCpu
Config - Raw
/cpu-configPUT body off the wire.
Constants§
- MAX_
REG_ MODIFIERS - Maximum number of
reg_modifiersrows we accept; arbitrary but bounded.