We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb04691 commit ec76c6cCopy full SHA for ec76c6c
ocaml/xapi/xapi_vm_migrate.ml
@@ -804,6 +804,8 @@ let assert_can_migrate ~__context ~vm ~dest ~live ~vdi_map ~vif_map ~options =
804
let dest_host_ref = Ref.of_string dest_host in
805
let force = try bool_of_string (List.assoc "force" options) with _ -> false in
806
let copy = try bool_of_string (List.assoc "copy" options) with _ -> false in
807
+ if copy && (Db.VM.get_auto_update_drivers ~__context ~self:vm) then
808
+ Pool_features.assert_enabled ~__context ~f:Features.PCI_device_for_auto_update;
809
810
let source_host_ref =
811
let host = Db.VM.get_resident_on ~__context ~self:vm in
0 commit comments