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 5c5b4ad6d7..b369c49b05 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -1666,6 +1666,7 @@ virBlkioDeviceArrayClear(virBlkioDevice *devices,
*/
static int
virDomainBlkioDeviceParseXML(xmlNodePtr root,
+ xmlXPathContextPtr ctxt G_GNUC_UNUSED,
virBlkioDevice *dev)
{
xmlNodePtr node;
@@ -19730,7 +19731,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