Register the helpers directly to format and parse the data.
https://bugzilla.redhat.com/show_bug.cgi?id=1523261
---
src/qemu/qemu_domain.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 18c2d2cb8a..74b82450b4 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -2451,6 +2451,8 @@ virDomainXMLPrivateDataCallbacks virQEMUDriverPrivateDataCallbacks =
{
.chrSourceNew = qemuDomainChrSourcePrivateNew,
.parse = qemuDomainObjPrivateXMLParse,
.format = qemuDomainObjPrivateXMLFormat,
+ .storageParse = virStorageSourcePrivateDataParseRelPath,
+ .storageFormat = virStorageSourcePrivateDataFormatRelPath,
};
--
2.15.0