[PATCH v2 08/27] virDomainMemorySourceDefFormat: Utilize virXMLFormatElement()
Peter Krempa
pkrempa at redhat.com
Fri Dec 4 07:23:20 UTC 2020
On Thu, Dec 03, 2020 at 13:36:11 +0100, Michal Privoznik wrote:
> The virDomainMemorySourceDefFormat() uses good old style of
> formatting child buffer (virBufferAdjustIndent()). When switched
> to virXMLFormatElement() we can save a couple of lines.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/conf/domain_conf.c | 20 +++++++-------------
> 1 file changed, 7 insertions(+), 13 deletions(-)
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
More information about the libvir-list
mailing list