Skip to content

Commit 17df830

Browse files
liulinClindig
authored andcommitted
CP-31321: Support extra_args for vGPU configuration
Signed-off-by: Lin Liu <[email protected]> Signed-off-by: Michael Z <[email protected]>
1 parent ce38297 commit 17df830

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xen/xenops_types.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ module Vgpu = struct
3131
virtual_pci_address : Some {domain; bus; device; fn}
3232
type_id: 45
3333
uuid: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
34+
extra_args:key1=v1,key2=v2,key3=v3
3435
}
3536
*)
3637
type nvidia = {
@@ -39,6 +40,7 @@ module Vgpu = struct
3940
virtual_pci_address: address option;
4041
type_id: string;
4142
uuid: string;
43+
extra_args: string; (* string is passed on as is and no structure is assumed *)
4244
} [@@deriving sexp, rpcty]
4345

4446
type mxgpu = {

0 commit comments

Comments
 (0)