Skip to content

Commit

Permalink
CA-399963: Block VM.start_on is feature flag is disabled
Browse files Browse the repository at this point in the history
This was missed in cf8ba8b.

Signed-off-by: Rob Hoes <[email protected]>
  • Loading branch information
robhoes committed Oct 2, 2024
1 parent 802dda6 commit 182ed47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocaml/xapi/message_forwarding.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1923,6 +1923,7 @@ functor
let start_on ~__context ~vm ~host ~start_paused ~force =
if Helpers.rolling_upgrade_in_progress ~__context then
Helpers.assert_host_has_highest_version_in_pool ~__context ~host ;
Pool_features.assert_enabled ~__context ~f:Features.VM_start ;
Xapi_vm_helpers.assert_matches_control_domain_affinity ~__context
~self:vm ~host ;
(* Prevent VM start on a host that is evacuating *)
Expand Down

0 comments on commit 182ed47

Please sign in to comment.