Skip to content

Commit

Permalink
CP-46200 CP-45741 pass -std-vga to QEMU in the case of compute GPU
Browse files Browse the repository at this point in the history
Further adjust parameters passed to QEMU when using an NVidia compte
(VCS) profile.

Signed-off-by: Christian Lindig <[email protected]>
  • Loading branch information
Christian Lindig authored and lindig committed Jan 25, 2024
1 parent 82b10ac commit b9893d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xenopsd/xc/device.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@ module Dm_Common = struct
case. Don't pass -vgpu for a compute vGPU. *)
match x with
| Vgpu ({implementation= Nvidia {vclass= Some "Compute"; _}; _} :: _) ->
[] (* don't pass flags for VCS (compute) vGPU *)
["-std-vga"]
| Vgpu ({implementation= Nvidia _; _} :: _) ->
["-vgpu"]
| Vgpu [{implementation= GVT_g gvt_g; _}] ->
Expand Down

0 comments on commit b9893d3

Please sign in to comment.