Skip to content

Commit e1ebb93

Browse files
committed
Merge pull request #269 from johnelse/cp-17066
CP-17066: Pass the monitor config file to qemu if it is supplied
2 parents 8bd0b68 + 61c2a8f commit e1ebb93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

xc/device.ml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,6 +1534,12 @@ let cmdline_of_disp info =
15341534
"-vgt_low_gm_sz"; Int64.to_string gvt_g.low_gm_sz;
15351535
"-vgt_high_gm_sz"; Int64.to_string gvt_g.high_gm_sz;
15361536
"-vgt_fence_sz"; Int64.to_string gvt_g.fence_sz;
1537+
] @ (
1538+
match gvt_g.monitor_config_file with
1539+
| Some monitor_config_file ->
1540+
["-vgt_monitor_config_file"; monitor_config_file]
1541+
| None -> []
1542+
) @ [
15371543
"-priv"
15381544
]
15391545
| Vgpu _ -> failwith "Unsupported vGPU configuration"

0 commit comments

Comments
 (0)