cuda.bindings.nvml.vgpu_instance_get_mdev_uuid#
- cuda.bindings.nvml.vgpu_instance_get_mdev_uuid(unsigned int vgpu_instance) str#
Retrieve the MDEV UUID of a vGPU instance.
The MDEV UUID is a globally unique identifier of the mdev device assigned to the VM, and is returned as a 5-part hexadecimal string, not exceeding 80 characters in length (including the NULL terminator). MDEV UUID is displayed only on KVM platform. See nvmlConstants::NVML_DEVICE_UUID_BUFFER_SIZE. For Maxwell ™️ or newer fully supported devices.
- Parameters:
vgpu_instance (unsigned int) – Identifier of the target vGPU instance.
- Returns:
Pointer to caller-supplied buffer to hold MDEV UUID.
- Return type:
char
See also
nvmlVgpuInstanceGetMdevUUID