Signed-off-by: Kristina Hanicova <khanicov(a)redhat.com>
---
src/conf/domain_conf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index aca30d37d4..33cc204507 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -1698,6 +1698,7 @@ virBlkioDeviceArrayClear(virBlkioDevice *devices,
*/
static int
virDomainBlkioDeviceParseXML(xmlNodePtr root,
+ xmlXPathContextPtr ctxt G_GNUC_UNUSED,
virBlkioDevice *dev)
{
xmlNodePtr node;
@@ -20602,7 +20603,7 @@ virDomainDefTunablesParse(virDomainDef *def,
def->blkio.devices = g_new0(virBlkioDevice, n);
for (i = 0; i < n; i++) {
- if (virDomainBlkioDeviceParseXML(nodes[i],
+ if (virDomainBlkioDeviceParseXML(nodes[i], ctxt,
&def->blkio.devices[i]) < 0)
return -1;
def->blkio.ndevices++;
--
2.30.2