Displaying 2 results from an estimated 2 matches for "msg01505".
2018 Jul 05
4
[PATCH] v2v: Preserve VM Generation ID (RHBZ#1598350).
...| Some lo, Some hi ->
+ (* The actual mapping from the two integers to the UUID
+ * (as defined by qemu and used by libvirt) is very complex.
+ * This code was determined empirically. See also:
+ * https://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg01505.html
+ *)
+ let sub = String.sub (sprintf "%016Lx%016Lx" lo hi) in
+ let uuid =
+ sub 8 8 ^ "-" ^
+ sub 4 4 ^ "-" ^
+ sub 0 4 ^ "-" ^
+ sub 30 2 ^ sub 28 2 ^ "-" ^
+ sub 2...
2018 Jul 05
0
Re: [PATCH] v2v: Preserve VM Generation ID (RHBZ#1598350).
...->
> + (* The actual mapping from the two integers to the UUID
> + * (as defined by qemu and used by libvirt) is very complex.
> + * This code was determined empirically. See also:
> + *
> https://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg01505.html
> + *)
> + let sub = String.sub (sprintf "%016Lx%016Lx" lo hi) in
> + let uuid =
> + sub 8 8 ^ "-" ^
> + sub 4 4 ^ "-" ^
> + sub 0 4 ^ "-" ^
> + sub 30 2 ^ sub 28 2...