| Previous | Next |
| WHV_E_UNSUPPORTED_HYPERVISOR_CONFIG | WHV_E_GPA_RANGE_NOT_FOUND |
WHV_E_INVALID_PARTITION_CONFIG
Partition configuration is committed as a validated whole
WHV_E_INVALID_PARTITION_CONFIG is normally associated with the transition from a newly created partition object to a configured hypervisor partition. The expected order is WHvCreatePartition, one or more WHvSetPartitionProperty calls, and then WHvSetupPartition.
Individual property setters can succeed while the final combination violates an invariant. Processor count, feature exposure, APIC or interrupt-controller mode, nested virtualization and architecture-specific fields must form a configuration supported by both the API implementation and hardware.
Evidence and corrective action
- Record every property code, buffer size and value applied before
WHvSetupPartition. - Set the required processor count and architecture-specific interrupt-controller data.
- Query capabilities before exposing optional processor or nested-virtualization features.
- Reduce to a minimal partition configuration and add properties back until the invalid combination is isolated.
- Do not attempt GPA mapping or virtual processor creation until setup succeeds.
References
Looking for a different code? Search another status or error code.
