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