Skip to content

Commit 0c9cebe

Browse files
authored
Merge pull request #276 from robhoes/master
CA-321983: use defaults or options for new nvidia vgpu fields
2 parents 455073a + dc25e8b commit 0c9cebe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xen/xenops_types.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ module Vgpu = struct
3737
type nvidia = {
3838
physical_pci_address: address option; (* unused; promoted to Vgpu.t *)
3939
config_file: string option;
40-
virtual_pci_address: address option;
41-
type_id: string;
42-
uuid: string;
43-
extra_args: string; (* string is passed on as is and no structure is assumed *)
40+
virtual_pci_address: address [@default {domain = 0000; bus = 0; dev = 11; fn = 0}];
41+
type_id: string option;
42+
uuid: string option;
43+
extra_args: string [@default ""]; (* string is passed on as is and no structure is assumed *)
4444
} [@@deriving sexp, rpcty]
4545

4646
type mxgpu = {

0 commit comments

Comments
 (0)