| Previous | Next |
| STATUS_HV_NX_NOT_DETECTED | STATUS_HV_INVALID_DEVICE_STATE |
STATUS_HV_INVALID_DEVICE_ID
The device identifier is not valid in this Hyper-V context
STATUS_HV_INVALID_DEVICE_ID means the supplied device ID cannot be used for the requested Hyper-V operation. In device-assignment paths, device identity is scoped to the host, partition, and device-domain context; an identifier captured before removal, reassignment, or VM restart can become stale.
The status does not by itself say that the physical device is broken. It says the hypervisor could not use the ID presented by the caller for this operation.
What to verify
- The source of the device ID and whether it was freshly resolved before the operation.
- Device assignment, removal, reset, hot-plug, and host PnP events around the failure.
- The owning partition and I/O-remapping domain associated with the device.
- Whether the ID belongs to a different host, VM instance, or nested virtualization layer.
Useful distinction
Keep this separate from STATUS_HV_INVALID_DEVICE_STATE. An invalid ID fails before state is meaningful; an invalid state means Hyper-V knows the device but the current lifecycle state does not allow the operation.
References
- Microsoft: Windows Hypervisor Platform API
- Microsoft: Hyper-V architecture
- Microsoft: Hyper-V TLFS
- ReactOS: ntstatus.h constant definitions
Looking for a different code? Search another status or error code.
