Firecracker · Schema

CpuConfig

The CPU configuration template defines a set of bit maps as modifiers of flags accessed by register to be disabled/enabled for the microvm.

Amazon Web ServicesContainersMicroVMOpen SourceServerlessVirtualizationKVM

Properties

Name Type Description
kvm_capabilities array A collection of KVM capabilities to be added or removed (both x86_64 and aarch64)
cpuid_modifiers array A collection of CPUID leaf modifiers (x86_64 only)
msr_modifiers array A collection of model specific register modifiers (x86_64 only)
reg_modifiers array A collection of register modifiers (aarch64 only)
vcpu_features array A collection of vCPU features to be modified (aarch64 only)
View JSON Schema on GitHub

JSON Schema

firecracker-cpu-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/firecracker/json-schema/firecracker-cpu-config-schema.json",
  "title": "CpuConfig",
  "description": "The CPU configuration template defines a set of bit maps as modifiers of flags accessed by register to be disabled/enabled for the microvm.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/firecracker-cpu-config-api-openapi.yml#/components/schemas/CpuConfig",
  "type": "object",
  "properties": {
    "kvm_capabilities": {
      "type": "array",
      "description": "A collection of KVM capabilities to be added or removed (both x86_64 and aarch64)",
      "items": {
        "type": "string",
        "description": "KVM capability as a numeric string. Prefix with '!' to remove capability. Example \"121\" (add) or \"!121\" (remove)"
      }
    },
    "cpuid_modifiers": {
      "type": "array",
      "description": "A collection of CPUID leaf modifiers (x86_64 only)",
      "items": {
        "$ref": "#/$defs/CpuidLeafModifier"
      }
    },
    "msr_modifiers": {
      "type": "array",
      "description": "A collection of model specific register modifiers (x86_64 only)",
      "items": {
        "$ref": "#/$defs/MsrModifier"
      }
    },
    "reg_modifiers": {
      "type": "array",
      "description": "A collection of register modifiers (aarch64 only)",
      "items": {
        "$ref": "#/$defs/ArmRegisterModifier"
      }
    },
    "vcpu_features": {
      "type": "array",
      "description": "A collection of vCPU features to be modified (aarch64 only)",
      "items": {
        "$ref": "#/$defs/VcpuFeatures"
      }
    }
  },
  "$defs": {
    "ArmRegisterModifier": {
      "type": "object",
      "description": "Modifier for an ARM register (aarch64)",
      "required": [
        "addr",
        "bitmap"
      ],
      "properties": {
        "addr": {
          "type": "string",
          "description": "64-bit register address as hex, binary, or decimal string (e.g., \"0x0\", \"0b0\", \"0\")"
        },
        "bitmap": {
          "type": "string",
          "description": "128-bit bitmap string defining which bits to modify. Format is \"0b\" followed by up to 128 characters where '0' = clear bit, '1' = set bit, 'x' = don't modify. Underscores can be used for readability. Example \"0b0000000000000000000000000000000000000000000000000000000000000001\""
        }
      }
    },
    "CpuidLeafModifier": {
      "type": "object",
      "description": "Modifier for a CPUID leaf and subleaf (x86_64)",
      "required": [
        "leaf",
        "subleaf",
        "flags",
        "modifiers"
      ],
      "properties": {
        "leaf": {
          "type": "string",
          "description": "CPUID leaf index as hex, binary, or decimal string (e.g., \"0x0\", \"0b0\", \"0\"))"
        },
        "subleaf": {
          "type": "string",
          "description": "CPUID subleaf index as hex, binary, or decimal string (e.g., \"0x0\", \"0b0\", \"0\")"
        },
        "flags": {
          "type": "integer",
          "format": "int32",
          "description": "KVM feature flags for this leaf-subleaf"
        },
        "modifiers": {
          "type": "array",
          "description": "Register modifiers for this CPUID leaf",
          "items": {
            "$ref": "#/$defs/CpuidRegisterModifier"
          }
        }
      }
    },
    "CpuidRegisterModifier": {
      "type": "object",
      "description": "Modifier for a specific CPUID register within a leaf (x86_64)",
      "required": [
        "register",
        "bitmap"
      ],
      "properties": {
        "register": {
          "type": "string",
          "description": "Target CPUID register name",
          "enum": [
            "eax",
            "ebx",
            "ecx",
            "edx"
          ]
        },
        "bitmap": {
          "type": "string",
          "description": "32-bit bitmap string defining which bits to modify. Format is \"0b\" followed by 32 characters where '0' = clear bit, '1' = set bit, 'x' = don't modify. Example \"0b00000000000000000000000000000001\" or \"0bxxxxxxxxxxxxxxxxxxxxxxxxxxxx0001\""
        }
      }
    },
    "MsrModifier": {
      "type": "object",
      "description": "Modifier for a model specific register (x86_64)",
      "required": [
        "addr",
        "bitmap"
      ],
      "properties": {
        "addr": {
          "type": "string",
          "description": "32-bit MSR address as hex, binary, or decimal string (e.g., \"0x10a\", \"0b100001010\", \"266\")"
        },
        "bitmap": {
          "type": "string",
          "description": "64-bit bitmap string defining which bits to modify. Format is \"0b\" followed by 64 characters where '0' = clear bit, '1' = set bit, 'x' = don't modify. Underscores can be used for readability. Example \"0b0000000000000000000000000000000000000000000000000000000000000001\""
        }
      }
    },
    "VcpuFeatures": {
      "type": "object",
      "description": "vCPU feature modifier (aarch64)",
      "required": [
        "index",
        "bitmap"
      ],
      "properties": {
        "index": {
          "type": "integer",
          "format": "int32",
          "description": "Index in the kvm_vcpu_init.features array"
        },
        "bitmap": {
          "type": "string",
          "description": "32-bit bitmap string defining which bits to modify. Format is \"0b\" followed by 32 characters where '0' = clear bit, '1' = set bit, 'x' = don't modify. Example \"0b00000000000000000000000001100000\""
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/firecracker-cpu-config"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.