mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 15:45:28 +00:00
Rename virDomainDiskSourceDefFormatSeclabel
Drop the 'Disk' from the name, as there is nothing disk-specific about the function.
This commit is contained in:
parent
a0f82fd2bd
commit
719ac9e4a7
@ -14809,13 +14809,13 @@ virDomainDiskBlockIoDefFormat(virBufferPtr buf,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* virDomainDiskSourceDefFormatSeclabel:
|
/* virDomainSourceDefFormatSeclabel:
|
||||||
*
|
*
|
||||||
* This function automaticaly closes the <source> element and formats any
|
* This function automaticaly closes the <source> element and formats any
|
||||||
* possible seclabels.
|
* possible seclabels.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
virDomainDiskSourceDefFormatSeclabel(virBufferPtr buf,
|
virDomainSourceDefFormatSeclabel(virBufferPtr buf,
|
||||||
size_t nseclabels,
|
size_t nseclabels,
|
||||||
virSecurityDeviceLabelDefPtr *seclabels,
|
virSecurityDeviceLabelDefPtr *seclabels,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
@ -14853,7 +14853,7 @@ virDomainDiskSourceFormat(virBufferPtr buf,
|
|||||||
virBufferEscapeString(buf, " file='%s'", src->path);
|
virBufferEscapeString(buf, " file='%s'", src->path);
|
||||||
virBufferEscapeString(buf, " startupPolicy='%s'", startupPolicy);
|
virBufferEscapeString(buf, " startupPolicy='%s'", startupPolicy);
|
||||||
|
|
||||||
virDomainDiskSourceDefFormatSeclabel(buf, src->nseclabels,
|
virDomainSourceDefFormatSeclabel(buf, src->nseclabels,
|
||||||
src->seclabels, flags);
|
src->seclabels, flags);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -14862,7 +14862,7 @@ virDomainDiskSourceFormat(virBufferPtr buf,
|
|||||||
virBufferEscapeString(buf, " dev='%s'", src->path);
|
virBufferEscapeString(buf, " dev='%s'", src->path);
|
||||||
virBufferEscapeString(buf, " startupPolicy='%s'", startupPolicy);
|
virBufferEscapeString(buf, " startupPolicy='%s'", startupPolicy);
|
||||||
|
|
||||||
virDomainDiskSourceDefFormatSeclabel(buf, src->nseclabels,
|
virDomainSourceDefFormatSeclabel(buf, src->nseclabels,
|
||||||
src->seclabels, flags);
|
src->seclabels, flags);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -14917,7 +14917,7 @@ virDomainDiskSourceFormat(virBufferPtr buf,
|
|||||||
}
|
}
|
||||||
virBufferEscapeString(buf, " startupPolicy='%s'", startupPolicy);
|
virBufferEscapeString(buf, " startupPolicy='%s'", startupPolicy);
|
||||||
|
|
||||||
virDomainDiskSourceDefFormatSeclabel(buf, src->nseclabels,
|
virDomainSourceDefFormatSeclabel(buf, src->nseclabels,
|
||||||
src->seclabels, flags);
|
src->seclabels, flags);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user