diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index c8e515abd4..62a46f57ec 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -24040,7 +24040,7 @@ virDomainDiskDefFormatMirror(virBufferPtr buf, virDomainDiskMirrorStateTypeToString(disk->mirrorState)); virBufferEscapeString(&childBuf, "<format type='%s'/>\n", formatStr); - if (virDomainDiskSourceFormat(&childBuf, disk->mirror, 0, false, 0, xmlopt) < 0) + if (virDomainDiskSourceFormat(&childBuf, disk->mirror, 0, false, flags, xmlopt) < 0) return -1; if (virXMLFormatElement(buf, "mirror", &attrBuf, &childBuf) < 0)