Skip to content

nvx-rs sandbox: no way to choose a CPU profile, and auto picks intel.alderlake.v1, which WHP rejects on an i9-12900KF (6/151/2) #1194

Open

Description

@longhun12346

Summary

On a desktop Alder Lake host under WHP, --cpu-profile auto selects the built-in intel.alderlake.v1 and OpenVMM refuses it before the guest boots. nvx-rs run can work around that with --cpu-profile host, but nvx-rs sandbox provision/start has no CPU-profile option, and the managed start refuses NVX_OPENVMM, so a managed sandbox cannot start on this host at all.

Environment

  • CPU: 12th Gen Intel(R) Core(TM) i9-12900KF, GenuineIntel 6/151/2 (Intel64 Family 6 Model 151 Stepping 2), bare metal.
  • Windows 11, build 10.0.26300.9711; backend WHP.
  • NVX release v0.1.0-dev.e92bfb576236 (OpenVMM 0.4.0+g0ac254109), run on 2026-11-02.

Observed

Re-run today with the release above:

openvmm --hypervisor whp --cpu-fingerprint fingerprint.json
NVX-CPU-PROFILE: status=fail backend=whp generation=alderlake profile=intel.alderlake.v1 ...
fatal error: [E_PROFILE_UNSUPPORTED] the backend does not support CPU profile intel.alderlake.v1: the guest physical address width 46 exceeds the supported 39; CPUID 0xd.11 is outside the profile and reads EAX 0x10, EBX 0x0, ECX 0x1, EDX 0x0; CPUID 0xd.12 is outside the profile and reads EAX 0x18, EBX 0x0, ECX 0x1, EDX 0x0

The command exits with status 1 and writes the fingerprint (attached below).

Recorded earlier on v0.1.0-dev.ffd79a10b65b and not re-run on the release above: nvx-rs run --guest ubuntu --cpu-profile host boots to NVX-GUEST-BOOT-OK: ubuntu.

On the release above, nvx-rs run --help lists --cpu-profile, while nvx-rs sandbox provision --help and nvx-rs sandbox start --help do not. In the source, nvx-rs/src/host/cli/sandbox/lifecycle/start.rs builds the OpenVMM command line without --cpu-profile, and nvx-rs/src/host/cli/sandbox/mod.rs refuses NVX_OPENVMM for a managed sandbox. cpu_generations.json maps models 151 and 154 to intel.alderlake.v1.

Two requests

  1. Is a 46-bit physical address width expected to boot on a desktop 6/151 part under WHP? If not, this is the Intel client analogue of CPU profile: Standard_D8ads_v5 / EPYC 9V74 fails amd.genoa.v1 on WHP #928, and the fingerprint is attached below.
  2. Add --cpu-profile ID to sandbox provision / sandbox start (or accept it in the sandbox record), validated by the check that the template path already uses (template/key.rs, cpu_profile_problem), so that a host like this one can start a managed sandbox. Local workaround that proves it: appending --cpu-profile host to the managed start's arguments.

Fingerprint

fingerprint.json (WHP, 12th Gen Intel(R) Core(TM) i9-12900KF)
{
  "backend": {
    "cpuid": [
      {
        "eax": "0x0000001c",
        "ebx": "0x756e6547",
        "ecx": "0x6c65746e",
        "edx": "0x49656e69",
        "leaf": "0x00000000",
        "subleaf": null
      },
      {
        "eax": "0x00090672",
        "ebx": "0x00000800",
        "ecx": "0x77fa3203",
        "edx": "0x0f8bfbff",
        "leaf": "0x00000001",
        "subleaf": null
      },
      {
        "eax": "0x00feff01",
        "ebx": "0x000000f0",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000002",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000003",
        "subleaf": null
      },
      {
        "eax": "0x00000121",
        "ebx": "0x02c0003f",
        "ecx": "0x0000003f",
        "edx": "0x00000000",
        "leaf": "0x00000004",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x00000122",
        "ebx": "0x01c0003f",
        "ecx": "0x0000003f",
        "edx": "0x00000000",
        "leaf": "0x00000004",
        "subleaf": "0x00000001"
      },
      {
        "eax": "0x00000143",
        "ebx": "0x0240003f",
        "ecx": "0x000007ff",
        "edx": "0x00000000",
        "leaf": "0x00000004",
        "subleaf": "0x00000002"
      },
      {
        "eax": "0x00000163",
        "ebx": "0x02c0003f",
        "ecx": "0x00009fff",
        "edx": "0x00000000",
        "leaf": "0x00000004",
        "subleaf": "0x00000003"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000004",
        "subleaf": "0x00000004"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000005",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000001",
        "edx": "0x00000000",
        "leaf": "0x00000006",
        "subleaf": null
      },
      {
        "eax": "0x00000002",
        "ebx": "0x219c27ab",
        "ecx": "0x184007a4",
        "edx": "0xac104410",
        "leaf": "0x00000007",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x00000810",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000007",
        "subleaf": "0x00000001"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000001",
        "leaf": "0x00000007",
        "subleaf": "0x00000002"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000008",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000009",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000000a",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000000b",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000000c",
        "subleaf": null
      },
      {
        "eax": "0x00000007",
        "ebx": "0x00000340",
        "ecx": "0x00000340",
        "edx": "0x00000000",
        "leaf": "0x0000000d",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x0000000f",
        "ebx": "0x00000368",
        "ecx": "0x00001800",
        "edx": "0x00000000",
        "leaf": "0x0000000d",
        "subleaf": "0x00000001"
      },
      {
        "eax": "0x00000100",
        "ebx": "0x00000240",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000000d",
        "subleaf": "0x00000002"
      },
      {
        "eax": "0x00000010",
        "ebx": "0x00000000",
        "ecx": "0x00000001",
        "edx": "0x00000000",
        "leaf": "0x0000000d",
        "subleaf": "0x0000000b"
      },
      {
        "eax": "0x00000018",
        "ebx": "0x00000000",
        "ecx": "0x00000001",
        "edx": "0x00000000",
        "leaf": "0x0000000d",
        "subleaf": "0x0000000c"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000000e",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000000f",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000000f",
        "subleaf": "0x00000001"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000010",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000010",
        "subleaf": "0x00000001"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000010",
        "subleaf": "0x00000002"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000010",
        "subleaf": "0x00000003"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000011",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000012",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000012",
        "subleaf": "0x00000001"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000012",
        "subleaf": "0x00000002"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000013",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000014",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000015",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000016",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000017",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000018",
        "subleaf": "0x00000000"
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x00000019",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000001a",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000001b",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x0000001c",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x40000000",
        "subleaf": null
      },
      {
        "eax": "0x80000008",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x80000000",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000121",
        "edx": "0x2c100800",
        "leaf": "0x80000001",
        "subleaf": null
      },
      {
        "eax": "0x68743231",
        "ebx": "0x6e654720",
        "ecx": "0x746e4920",
        "edx": "0x52286c65",
        "leaf": "0x80000002",
        "subleaf": null
      },
      {
        "eax": "0x6f432029",
        "ebx": "0x54286572",
        "ecx": "0x6920294d",
        "edx": "0x32312d39",
        "leaf": "0x80000003",
        "subleaf": null
      },
      {
        "eax": "0x4b303039",
        "ebx": "0x00000046",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x80000004",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x80000005",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x05007040",
        "edx": "0x00000000",
        "leaf": "0x80000006",
        "subleaf": null
      },
      {
        "eax": "0x00000000",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000100",
        "leaf": "0x80000007",
        "subleaf": null
      },
      {
        "eax": "0x00003027",
        "ebx": "0x00000000",
        "ecx": "0x00000000",
        "edx": "0x00000000",
        "leaf": "0x80000008",
        "subleaf": null
      }
    ],
    "extra_cpuid": {},
    "feature_banks": {
      "whp.capability.ProcessorFeatures": "0x3e1bfbcfe7f7859f",
      "whp.capability.ProcessorFeaturesBanks.bank0": "0x3e1bfbcfe7f7859f",
      "whp.capability.ProcessorFeaturesBanks.bank1": "0x0000000f1e9777e3",
      "whp.capability.ProcessorXsaveFeatures": "0x000000004058381f"
    },
    "method": "WHvGetVirtualProcessorCpuidOutput on a probe partition with every processor and XSAVE feature that WHP reports as available, and an in-hypervisor x2APIC",
    "msrs": {
      "arch_capabilities": null,
      "feature_msrs": [],
      "supported": []
    },
    "name": "whp",
    "time": {
      "arat": false,
      "invariant_tsc": true,
      "lapic_timer_frequency_hz": 200000000,
      "msr_intercepts": {
        "ApicBaseMsrWrite": true,
        "McUpdatePatchLevelMsrRead": true,
        "MiscEnableMsrRead": true,
        "TscMsrRead": true,
        "TscMsrWrite": true,
        "UnhandledMsrs": true,
        "X64MsrExit": true
      },
      "rdtscp": true,
      "time_freeze": true,
      "tsc_adjust": true,
      "tsc_deadline": true,
      "tsc_frequency_hz": 3187200745,
      "tsc_offset_control": true,
      "tsc_scaling": true
    },
    "unavailable": {},
    "values": {
      "whp.capability.ExtendedVmExits": "0x0000000000007fff",
      "whp.capability.Features": "0x00000000000002ff",
      "whp.capability.InterruptClockFrequency": "0x000000000bebc200",
      "whp.capability.PerfmonFeatures": "0x0000000000000000",
      "whp.capability.ProcessorClFlushSize": "0x0000000000000008",
      "whp.capability.ProcessorClockFrequency": "0x00000000bdf8d2e9",
      "whp.capability.ProcessorFeaturesBanks.count": "0x0000000000000002",
      "whp.capability.ProcessorFrequencyCap.Flags": "0x0000000000000000",
      "whp.capability.ProcessorFrequencyCap.FrequencyStepMhz": "0x0000000000000000",
      "whp.capability.ProcessorFrequencyCap.HighestFrequencyMhz": "0x0000000000000000",
      "whp.capability.ProcessorFrequencyCap.LowestFrequencyMhz": "0x0000000000000000",
      "whp.capability.ProcessorFrequencyCap.NominalFrequencyMhz": "0x0000000000000000",
      "whp.capability.ProcessorVendor": "0x0000000000000001",
      "whp.capability.SyntheticProcessorFeaturesBanks.bank0": "0x0000006fff448fff",
      "whp.capability.SyntheticProcessorFeaturesBanks.count": "0x0000000000000001",
      "whp.capability.X64MsrExitBitmap": "0x000000000000003f",
      "whp.probe.InterruptClockFrequency": "0x000000000bebc200",
      "whp.probe.PhysicalAddressWidth": "0x0000000000000027",
      "whp.probe.ProcessorClockFrequency": "0x00000000bdf8d2e9"
    },
    "xsave": {
      "compacted_size": 872,
      "components": [
        {
          "align64": false,
          "index": 2,
          "offset": 576,
          "size": 256,
          "supervisor": false,
          "xfd": false
        },
        {
          "align64": false,
          "index": 11,
          "offset": 0,
          "size": 16,
          "supervisor": true,
          "xfd": false
        },
        {
          "align64": false,
          "index": 12,
          "offset": 0,
          "size": 24,
          "supervisor": true,
          "xfd": false
        }
      ],
      "extensions": "0x0000000f",
      "max_standard_size": 832,
      "standard_size": 832,
      "xcr0_supported": "0x0000000000000007",
      "xss_supported": "0x0000000000001800"
    }
  },
  "digest": "sha256:a989783954e13bae40c17220bdc925c074610ec3c79f847e67a02d051abfd4d4",
  "host": {
    "cpu": {
      "brand": "12th Gen Intel(R) Core(TM) i9-12900KF",
      "family": 6,
      "invariant_tsc": true,
      "microcode": [
        "0x1e"
      ],
      "model": 151,
      "signature": "0x00090672",
      "stepping": 2,
      "tsc_adjust": false,
      "tsc_deadline": true,
      "vendor": "GenuineIntel"
    },
    "hypervisor": {
      "interface": "Hv#1",
      "max_leaf": "0x4000000c",
      "vendor": "Microsoft Hv",
      "version": "10.0.26100.9711"
    },
    "os": {
      "available_clocksources": [],
      "clocksource": null,
      "cpu_flags": [],
      "kind": "windows",
      "release": "10.0.26300.9711",
      "version": "Windows 10 Pro for Workstations 26H2"
    }
  },
  "schema": "openvmm-cpu-fingerprint/v1",
  "surface_digest": "sha256:ffb2d5b30e0ee9b3c28c44e21712c92649bb5df56901ad6689303c14efabe715",
  "tool": {
    "name": "openvmm",
    "version": "0.4.0+g0ac254109"
  }
}

Metadata

Metadata

Labels

area: nvx-rsInitial title-keyword triage suggestionplatform: whpInitial title-keyword triage suggestion

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions