| Previous | Next |
| ERROR_HV_PARTITION_TOO_DEEP | ERROR_HV_INVALID_VP_INDEX |
ERROR_HV_INVALID_PARTITION_ID
Partition IDs identify a live hypervisor object, not a permanent VM name
ERROR_HV_INVALID_PARTITION_ID means no current partition matches the numeric identifier passed to the hypercall. A management VM name, HCS identifier, and hypervisor partition ID are different namespaces. Partition IDs become stale when the partition is finalized and deleted, even if software immediately creates a replacement for the same configured VM.
Trace where the ID was obtained and tie it to a partition generation. Cancel queued VP, property, register, and device operations when deletion begins. If the target is intended to be the caller itself, use the documented self identifier where the hypercall permits it instead of caching a value discovered through another control path.
Stale-identifier checks
- Numeric partition ID and the management object it was mapped to.
- Create and delete timestamps for the current VM generation.
- Whether the request was queued before reset, restore, or reconnect.
- Use of a self-partition constant versus a parent-supplied child ID.
References
- Microsoft TLFS: returned child partition identifier
- Microsoft TLFS: finalization before deletion
- Microsoft TLFS: partition ID and VP index form object identity
Looking for a different code? Search another status or error code.
