| Previous | Next |
| ERROR_HV_NOT_ACKNOWLEDGED | ERROR_HV_ACKNOWLEDGED |
ERROR_HV_INVALID_VP_STATE
VP identity and VP execution state are separate checks
ERROR_HV_INVALID_VP_STATE indicates that the virtual processor index is valid but the VP is not in the state required by the operation. Starting an already active VP, changing startup context at the wrong time, mapping state for an unavailable VTL, or restoring registers during a conflicting transition can all produce this class of failure.
Capture the VP index, active VTL, run state, and the exact hypercall. Serialize start, stop, reset, save, and register modification. Do not replace this diagnosis with “invalid VP index”: a valid index can still refer to a processor whose lifecycle has advanced beyond the caller’s expected state.
VP state needed for diagnosis
- Partition ID and stable VP index.
- Whether the VP is created, started, halted, resetting, or being restored.
- Active and enabled VTL set for the VP.
- Concurrent run, cancel, register, and state-page operations.
References
- Microsoft TLFS: virtual processor identity and state facilities
- Microsoft TLFS: starting a virtual processor and state errors
- Microsoft TLFS: mapping VP state pages
Looking for a different code? Search another status or error code.
