Skip to content

Commit b898cbe

Browse files
committed
CP-24185 add docstring for get_pgpu_vgpu_compatibility
Signed-off-by: Christian Lindig <[email protected]>
1 parent d756e12 commit b898cbe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gpumon/gpumon_interface.ml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ module Nvidia = struct
4545
* pgpu_metadata = metadata of the pGPU to check compatibility for. *)
4646
external get_pgpu_vm_compatibility: debug_info -> pgpu_address -> domid -> nvidia_pgpu_metadata -> compatibility = ""
4747

48+
(** Check compatibility between a pGPU (on a host) and a list of vGPUs
49+
* (assigned to a VM). The use case is VM.suspend/VM.resume: before
50+
* VM.resume [nvidia_vgpu_metadata] of the suspended VM is checked
51+
* against the [nvidia_pgpu_metadata] on the host where the VM is
52+
* resumed. A VM may use several vGPUs.
53+
*)
4854
external get_pgpu_vgpu_compatibility
4955
: debug_info
5056
-> nvidia_pgpu_metadata

0 commit comments

Comments
 (0)