[PATCH v2 09/27] virDomainMemoryTargetDefFormat: Utilize virXMLFormatElement()
Peter Krempa
pkrempa at redhat.com
Fri Dec 4 07:24:53 UTC 2020
On Thu, Dec 03, 2020 at 13:36:12 +0100, Michal Privoznik wrote:
> The virDomainMemoryTargetDefFormat() 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 | 21 +++++++++------------
> 1 file changed, 9 insertions(+), 12 deletions(-)
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
More information about the libvir-list
mailing list