[PATCH 19/21] conf: Propagate xmlXPathContextPtr into virDomainVideoDriverDefParseXML()

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

 



Signed-off-by: Kristina Hanicova <khanicov@xxxxxxxxxx>
---
 src/conf/domain_conf.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 1115a3104d..b9816c46ed 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -15048,7 +15048,8 @@ virDomainVideoResolutionDefParseXML(xmlNodePtr node)
 }
 
 static virDomainVideoDriverDef *
-virDomainVideoDriverDefParseXML(xmlNodePtr node)
+virDomainVideoDriverDefParseXML(xmlNodePtr node,
+                                xmlXPathContextPtr ctxt G_GNUC_UNUSED)
 {
     xmlNodePtr cur;
     virDomainVideoDriverDef *def;
@@ -15213,7 +15214,7 @@ virDomainVideoDefParseXML(virDomainXMLOption *xmlopt,
     if (virDomainDeviceInfoParseXML(xmlopt, node, ctxt, &def->info, flags) < 0)
         return NULL;
 
-    def->driver = virDomainVideoDriverDefParseXML(node);
+    def->driver = virDomainVideoDriverDefParseXML(node, ctxt);
 
     return g_steal_pointer(&def);
 }
-- 
2.30.2




[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]

  Powered by Linux