| Previous | Next |
| ERROR_HV_INVALID_LP_INDEX | ERROR_HV_INVALID_VTL_STATE |
ERROR_HV_INVALID_REGISTER_VALUE
Hyper-V validates register encodings without emulating instruction side effects
ERROR_HV_INVALID_REGISTER_VALUE is returned when a value supplied to a VP register operation violates the register contract. Hyper-V checks reserved bits, architecturally fixed zero or one bits, value width, and read-only status. A register name can be valid while the associated value is not.
Log the register name and all 128 value bits before conversion. Construct values from the documented union or bitfield for the current architecture and VTL, zero reserved fields, and read back writable state when possible. HvCallSetVpRegisters does not reproduce every side effect of executing the corresponding hardware instruction, so using it as an instruction emulator can leave state inconsistent even after validation succeeds.
Register-level diagnostics
- Register name, architecture, VP index, and target VTL.
- Full supplied value and decoded reserved or fixed fields.
- Whether the register is read-only or valid only in a specific mode.
- Expected hardware side effects that the hypercall does not perform.
References
- Microsoft TLFS: VP register validation rules
- Microsoft TLFS: synthetic and architectural register names
- Intel: architectural register encodings and reserved bits
Looking for a different code? Search another status or error code.