[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [libvirt-glib] gconfig: Entertain bridge interface devices



From: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>

Currently we ignore bridge interface devices from domain XML. This patch
fixes that.

Pushed under trivial rule.
---
 libvirt-gconfig/libvirt-gconfig-domain-interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-gconfig/libvirt-gconfig-domain-interface.c b/libvirt-gconfig/libvirt-gconfig-domain-interface.c
index 2f7be5c..48fc6fd 100644
--- a/libvirt-gconfig/libvirt-gconfig-domain-interface.c
+++ b/libvirt-gconfig/libvirt-gconfig-domain-interface.c
@@ -147,7 +147,7 @@ gvir_config_domain_interface_new_from_tree(GVirConfigXmlDoc *doc,
     } else if (g_str_equal(type, "user")) {
         gtype = GVIR_CONFIG_TYPE_DOMAIN_INTERFACE_USER;
     } else if (g_str_equal(type, "bridge")) {
-        goto unimplemented;
+        gtype = GVIR_CONFIG_TYPE_DOMAIN_INTERFACE_BRIDGE;
     } else if (g_str_equal(type, "direct")) {
         goto unimplemented;
     } else if (g_str_equal(type, "server")) {
-- 
1.8.0.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]