mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
domain_conf: Format NS always last
I think that since <qemu:commandline/> is kind of a hack, it doesn't deserve place in the front row. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
2a372a5ad5
commit
5dd52ecbcf
@ -29877,16 +29877,16 @@ virDomainDefFormatInternalSetRootName(virDomainDefPtr def,
|
||||
for (n = 0; n < def->nseclabels; n++)
|
||||
virSecurityLabelDefFormat(buf, def->seclabels[n], flags);
|
||||
|
||||
if (def->namespaceData && def->ns.format) {
|
||||
if ((def->ns.format)(buf, def->namespaceData) < 0)
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (def->keywrap)
|
||||
virDomainKeyWrapDefFormat(buf, def->keywrap);
|
||||
|
||||
virDomainSEVDefFormat(buf, def->sev);
|
||||
|
||||
if (def->namespaceData && def->ns.format) {
|
||||
if ((def->ns.format)(buf, def->namespaceData) < 0)
|
||||
goto error;
|
||||
}
|
||||
|
||||
virBufferAdjustIndent(buf, -2);
|
||||
virBufferAsprintf(buf, "</%s>\n", rootname);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user