| Previous | Next |
| ERROR_HV_NX_NOT_DETECTED | ERROR_HV_INVALID_DEVICE_STATE |
ERROR_HV_INVALID_DEVICE_ID
A hypervisor device ID is not the same as a Plug and Play instance path
ERROR_HV_INVALID_DEVICE_ID means the device identifier passed to a hypervisor operation does not name a current device object in that context. Management software may also track PCI BDFs, Windows instance IDs, VMBus channel IDs, and HCS device objects; substituting one namespace for another produces misleading failures.
Record the numeric hypervisor device ID together with its partition and device-domain generation. Re-enumerate after hot removal, VM restore, or device reassignment. If an asynchronous request was queued before detach, cancel it rather than applying it to a newly created device that happens to occupy the same visible slot.
Identity information to retain
- Hypervisor device ID and target partition ID.
- PCI location, Windows instance path, or VMBus identity mapped to it.
- Device-domain generation and attach/detach timestamps.
- Queued operations created before hot-plug or restore.
References
- Microsoft: Hyper-V device ID status definition
- Linux kernel: Hyper-V virtual PCI device identity
- Microsoft: device address-space isolation through the IOMMU
Looking for a different code? Search another status or error code.