[libvirt-glib 2/2] Parse GVirConfigDomainRedirdev nodes

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

 



Update gvir_config_domain_device_new_from_tree to handle
GVirConfigDomainRedirdev nodes
---
 libvirt-gconfig/libvirt-gconfig-domain-device.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-gconfig/libvirt-gconfig-domain-device.c b/libvirt-gconfig/libvirt-gconfig-domain-device.c
index 2f76c8b..9a7fae5 100644
--- a/libvirt-gconfig/libvirt-gconfig-domain-device.c
+++ b/libvirt-gconfig/libvirt-gconfig-domain-device.c
@@ -70,7 +70,7 @@ gvir_config_domain_device_new_from_tree(GVirConfigXmlDoc *doc,
     } else if (xmlStrEqual(tree->name, (xmlChar*)"hostdev")) {
         goto unimplemented;
     } else if (xmlStrEqual(tree->name, (xmlChar*)"redirdev")) {
-        goto unimplemented;
+        type = GVIR_CONFIG_TYPE_DOMAIN_REDIRDEV;
     } else if (xmlStrEqual(tree->name, (xmlChar*)"smartcard")) {
         goto unimplemented;
     } else if (xmlStrEqual(tree->name, (xmlChar*)"interface")) {
-- 
1.7.10

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]