search for: 57e741574

Displaying 2 results from an estimated 2 matches for "57e741574".

2018 Jun 07
0
[PATCH] v2v: parse_libvirt_xml: Simplify code by using xpath_get_nodes utility fn.
No functional change. --- v2v/parse_libvirt_xml.ml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/v2v/parse_libvirt_xml.ml b/v2v/parse_libvirt_xml.ml index 57e741574..03a201e77 100644 --- a/v2v/parse_libvirt_xml.ml +++ b/v2v/parse_libvirt_xml.ml @@ -123,14 +123,8 @@ let parse_libvirt_xml ?conn xml = | _, _, _ -> None in let features = - let features = ref [] in - let obj = Xml.xpath_eval_expression xpathctx "/domain/features/*" in -...
2018 Apr 20
1
[PATCH] v2v: rework handling of CPU topology
...sprintf "cores=%d" s_cpu_cores; + sprintf "threads=%d" s_cpu_threads; + ] in + arg_list "-smp" args + ); ); let make_disk if_name i = function diff --git a/v2v/parse_libvirt_xml.ml b/v2v/parse_libvirt_xml.ml index 6f8a01e54..57e741574 100644 --- a/v2v/parse_libvirt_xml.ml +++ b/v2v/parse_libvirt_xml.ml @@ -115,6 +115,13 @@ let parse_libvirt_xml ?conn xml = and threads = Option.default 1 cpu_threads in sockets * cores * threads in + let cpu_topology = + match cpu_sockets, cpu_cores, cpu_threads with + | S...