| Previous | Next |
| ERROR_HV_ACCESS_DENIED | ERROR_HV_OPERATION_DENIED |
ERROR_HV_INVALID_PARTITION_STATE
Partition operations are legal only in specific lifecycle phases
ERROR_HV_INVALID_PARTITION_STATE indicates that the target partition exists but is entering or already occupies a state incompatible with the requested hypercall. A child partition is created, configured with early properties, initialized, used, finalized, and deleted; these phases are not interchangeable.
Log the exact operation and the last successful lifecycle transition rather than retrying blindly. For example, early partition properties must be set before initialization, while finalization removes remaining VPs, ports, and connections and permits no further activity except deletion. Concurrent start, reset, save, or teardown paths should serialize around the partition state and discard work queued for an older generation.
Lifecycle details that usually reveal the fault
- Last completed create, initialize, start, reset, finalize, or delete step.
- Whether another thread is saving or tearing down the same partition.
- Property or VP operation attempted during the transition.
- Partition generation or management-object version associated with the request.
References
- Microsoft TLFS: creating a child partition
- Microsoft TLFS: initialization and early properties
- Microsoft TLFS: finalization and permitted follow-up operations
Looking for a different code? Search another status or error code.