qemu: domain: Parse and format relPath into disk source private data

Register the helpers directly to format and parse the data.

https://bugzilla.redhat.com/show_bug.cgi?id=1523261
This commit is contained in:
Peter Krempa 2017-12-13 17:06:00 +01:00
parent cd31709351
commit b3d0270c44

View File

@ -2451,6 +2451,8 @@ virDomainXMLPrivateDataCallbacks virQEMUDriverPrivateDataCallbacks = {
.chrSourceNew = qemuDomainChrSourcePrivateNew,
.parse = qemuDomainObjPrivateXMLParse,
.format = qemuDomainObjPrivateXMLFormat,
.storageParse = virStorageSourcePrivateDataParseRelPath,
.storageFormat = virStorageSourcePrivateDataFormatRelPath,
};