From 54fc720d8e58e7103b644d0970dc78cf298512ee Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 20 Mar 2019 14:13:42 +0100 Subject: [PATCH] conf: Document virDomainDiskSourceFormat MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- src/conf/domain_conf.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 5f55a7382d..265d44eea2 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -23716,6 +23716,18 @@ virDomainDiskSourceFormatPrivateData(virBufferPtr buf, } +/** + * virDomainDiskSourceFormat: + * @buf: output buffer + * @src: storage source definition to format + * @policy: startup policy attribute value, if necessary + * @attrIndex: the 'index' attribute of is formatted if true + * @flags: XML formatter flags + * @xmlopt: XML formatter callbacks + * + * Formats @src into a element. Note that this doesn't format the + * 'type' and 'format' properties of @src. + */ int virDomainDiskSourceFormat(virBufferPtr buf, virStorageSourcePtr src, -- 2.47.2