| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Profile name. Builtin names and the compat- prefix are reserved. | |
machine | string | q35 or i440fx machine family, preferably a versioned type. | |
cpu | VirtualMachineProfileCPU | Guest CPU model and feature policy. |
cpu
VirtualMachineProfileCPU selects the guest-visible CPU.| Field | Type | Description | Value(s) |
|---|---|---|---|
mode | VirtualMachineProfileCPUMode | host-model, host-passthrough or custom. | host-modelhost-passthroughcustom |
model | string | Named CPU model; required only for custom. | |
fallback | string | allow or forbid (default forbid) for custom model fallback. | |
features | VirtualMachineProfileCPUFeature | Explicit feature policies for a custom model. |
features[]
VirtualMachineProfileCPUFeature selects one CPU flag.| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | CPU feature name. | |
policy | VirtualMachineProfileCPUFeaturePolicy | require, disable, optional, force or forbid. | requiredisableoptionalforceforbid |