File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,8 +240,6 @@ let vbd_polling_idle_threshold_key = "polling-idle-threshold"
240240
241241(* set in VBD other-config *)
242242
243- let vbd_backend_local_key = " backend-local" (* set in VBD other-config *)
244-
245243let mac_seed = " mac_seed" (* set in a VM to generate MACs by hash chaining *)
246244
247245let ( ** ) = Int64. mul
Original file line number Diff line number Diff line change @@ -678,16 +678,7 @@ module MD = struct
678678 )
679679 )
680680 in
681- let backend_of_vbd vbd =
682- let vbd_oc = vbd.API. vBD_other_config in
683- if List. mem_assoc Xapi_globs. vbd_backend_local_key vbd_oc then (
684- let path = List. assoc Xapi_globs. vbd_backend_local_key vbd_oc in
685- warn " Using local override for VBD backend: %s -> %s" vbd.API. vBD_uuid
686- path ;
687- Some (Local path)
688- ) else
689- disk_of_vdi ~__context ~self: vbd.API. vBD_VDI
690- in
681+ let backend_of_vbd vbd = disk_of_vdi ~__context ~self: vbd.API. vBD_VDI in
691682 let can_attach_early =
692683 let sr_opt =
693684 try Some (Db.VDI. get_SR ~__context ~self: vbd.API. vBD_VDI)
You can’t perform that action at this time.
0 commit comments