Displaying 2 results from an estimated 2 matches for "33e878e".
Did you mean:
33878
2016 Sep 21
1
[PATCH] v2v: -i libvirtxml: ignore <listen type='none'> (RHBZ#1378022)
...t;/graphics>
then just ignore it, as it is (roughly) the same as no <listen> child
elements at all. This avoids a warning about an unknown listen type.
---
v2v/input_libvirtxml.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/v2v/input_libvirtxml.ml b/v2v/input_libvirtxml.ml
index 33e878e..1540798 100644
--- a/v2v/input_libvirtxml.ml
+++ b/v2v/input_libvirtxml.ml
@@ -101,6 +101,7 @@ let parse_libvirt_xml ?conn xml =
(* Use only the first <listen> configuration. *)
match xpath_string "listen[1]/@type" with
| None -> LNone
+...
2016 Sep 21
1
[PATCH] v2v: Support <listen type='socket'> and <listen type='none'> (RHBZ#1378022).
...ay_type = Window; s_keymap = None; s_password = None;
- s_listen = LNone; s_port = None };
+ s_listen = LNoListen; s_port = None };
s_video = None;
s_sound = None;
s_disks = [disk];
diff --git a/v2v/input_libvirtxml.ml b/v2v/input_libvirtxml.ml
index 33e878e..d94591f 100644
--- a/v2v/input_libvirtxml.ml
+++ b/v2v/input_libvirtxml.ml
@@ -96,24 +96,31 @@ let parse_libvirt_xml ?conn xml =
let nr_nodes = Xml.xpathobj_nr_nodes obj in
if nr_nodes < 1 then (
match xpath_string "@listen" with
- | None -> LN...