search for: precedence_of_xs

Displaying 2 results from an estimated 2 matches for "precedence_of_xs".

Did you mean: precedence_of_x
2016 Feb 22
2
Re: [PATCH v2 4/4] v2v: in-place: request caps based on source config
...a function that finds the best "something" in a list of "somethings", using a polymorphic precedence function to compare the best: let rec find_best precedence = function | [] -> None, 0 | x :: xs -> let precedence_of_x = precedence x and best_in_xs, precedence_of_xs = find_best precedence xs in if precedence_of_x > precedence_of_xs then x, precedence_of_x else best_in_xs, precedence_of_xs This function has type: val find_best : ('a option -> int) -> 'a option list -> 'a option * int (Note it returns a pa...
2016 Feb 20
8
[PATCH v2 0/4] v2v: more control over device types
The decision on which device type to use for disks, network and video cards on output used to be taken deep inside the converting functions. This is not always desirable. In particular, there are scenarios when this decision is made before the convertion takes place. E.g. in in-place mode, the decisions are taken and the output VM configuration is created outside of v2v tool. This patchset