Displaying 1 result from an estimated 1 matches for "features_force".
2014 Oct 31
0
[PATCH] v2v: -o libvirt: Get the <features/> right in the output XML (RHBZ#1159258).
...9;t add any features which are not supported by
+ * the target hypervisor.
+ *)
+ let features = StringSet.inter(*section*) features target_features in
+
+ (* But if the target supports apic or pae then we should add them
+ * anyway (old virt-v2v did this).
+ *)
+ let features =
+ let features_force = ["apic"; "pae"] in
+ List.fold_left (
+ fun set force ->
+ if StringSet.mem force target_features then
+ StringSet.add "apic" set
+ else
+ set
+ ) features features_force in
+
+ let features = List.sort compare (StringSe...