Unregisters the mapping associated with a real device number for a given workload partition (WPAR).
Item | Description |
---|---|
wparid | WPAR identifier. This parameter is required. |
rdevno | Real device number. This parameter is required. |
The kwpar_unregdevno kernel service provides the ability to unregister the mapping associated with a real device number for a given WPAR. The kwpar_unregdevno kernel service will perform the following steps:
The kwpar_unregdevno kernel service can be called from the process environment only.
Item | Description |
---|---|
0 | Success. |
non-zero | Failure. |
The kwpar_unregdevno kernel service fails if one or more of the following errors occur:
Item | Description |
---|---|
EINVAL | Either the wparid or rdevno argument is not valid. |
ENXIO | Unable to locate the WPAR device map associated with the given WPAR ID. |
ESRCH | Unable to locate the mapping for the given real device number rdevno. |