Skip to content

Commit

Permalink
CA-392163 - backport adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Lindig <[email protected]>
  • Loading branch information
Christian Lindig authored and lindig committed May 7, 2024
1 parent f4f9a6d commit dc0c046
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ocaml/xapi/message_forwarding.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,7 @@ functor
local_fn ~__context

let clear_vif_reservations ~__context ~vm =
let __FUNCTION__ = "clear_vif_reservations" in
debug "%s VM=%s" __FUNCTION__ (Ref.string_of vm) ;
Db.VM.get_VIFs ~__context ~self:vm
|> List.iter (fun vif ->
Expand All @@ -1105,6 +1106,7 @@ functor
)

let clear_reservations ~__context ~vm =
let __FUNCTION__ = "clear_reservations" in
debug "%s VM=%s" __FUNCTION__ (Ref.string_of vm) ;
(* host *)
Db.VM.set_scheduled_to_be_resident_on ~__context ~self:vm
Expand Down

0 comments on commit dc0c046

Please sign in to comment.