[libvirt] [PATCH 2/3] conf: Use virXMLFormatElement to format disk 'driver' element

Ján Tomko jtomko at redhat.com
Mon Jun 11 15:43:12 UTC 2018


On Mon, Jun 11, 2018 at 04:59:53PM +0200, Peter Krempa wrote:
>Formatting of 'driver' already used a separate buffer but was part of
>the main function. Separate it and remove bunch of unnecessary temporary
>variables.
>
>Note that some checks are removed but they are not really necessary
>anyways.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c | 121 ++++++++++++++++++++++++++-----------------------
> 1 file changed, 65 insertions(+), 56 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180611/70a3d5eb/attachment-0001.sig>


More information about the libvir-list mailing list