Skip to content

Commit 167b9f4

Browse files
author
Jon Ludlam
authored
Merge pull request xapi-project#3333 from robhoes/master
CA-272126: Don't get NVidia vGPU types from XML file for now.
2 parents 936aa52 + 221b9ce commit 167b9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/xapi_vgpu_type.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ module Vendor = functor (V : VENDOR) -> struct
456456
~is_pci_hidden =
457457
let vgpu_types = make_vgpu_types ~__context ~pci in
458458
(* Temporarily fall back to old nvidia module *)
459-
if vgpu_types = [] && vendor_id = Nvidia_old.vendor_id then begin
459+
if vendor_id = Nvidia_old.vendor_id then begin
460460
info "Temporarily fall back to old nvidia conf file parser";
461461
Nvidia_old.find_or_create_supported_types ~__context ~pci
462462
~is_system_display_device

0 commit comments

Comments
 (0)