File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,17 @@ 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+ (* * Obtain meta data for all vGPUs running in a domain. The
49+ * [pgpu_address] is a PCI identifier of the form
50+ * domain:bus:device.function
51+ *)
52+ external get_vgpu_metadata
53+ : debug_info
54+ -> domid
55+ -> pgpu_address
56+ -> nvidia_vgpu_metadata list
57+ = " "
58+
4859 (* * Check compatibility between a pGPU (on a host) and a list of vGPUs
4960 * (assigned to a VM). The use case is VM.suspend/VM.resume: before
5061 * VM.resume [nvidia_vgpu_metadata] of the suspended VM is checked
You can’t perform that action at this time.
0 commit comments