| Previous | Next |
| ERROR_VID_REMOTE_NODE_PARENT_GPA_PAGES_USED | WHV_E_INSUFFICIENT_BUFFER |
WHV_E_UNKNOWN_CAPABILITY
Windows Hypervisor Platform features must be discovered at runtime
WHV_E_UNKNOWN_CAPABILITY is the defined result when WHvGetCapability is called with a capability code the installed Windows Hypervisor Platform does not recognize. Building against a newer Windows SDK does not guarantee that an older host implements every enum value in that header.
A virtualization stack should use capability discovery to select optional exits, processor features, memory behavior and architecture-specific functions. Falling back safely is preferable to assuming that an unknown query means the hypervisor is generally absent.
Evidence and corrective action
- Log the numeric
WHV_CAPABILITY_CODEand the Windows build that handled the query. - Treat the corresponding optional feature as unavailable on this host.
- Query
WHvCapabilityCodeHypervisorPresentseparately before concluding that no hypervisor is running. - Guard newer capability codes by runtime version or feature detection rather than compile-time headers alone.
- Do not reinterpret the output buffer when the query itself failed.
References
- Microsoft: WHvGetCapability
- Microsoft: Windows Hypervisor Platform API
- Microsoft: partition property data types
Looking for a different code? Search another status or error code.
