[libvirt] [PATCH] conf: improve the way we format blkiotune and cputune

Martin Kletzander mkletzan at redhat.com
Wed Jun 24 09:32:32 UTC 2015


On Tue, Jun 23, 2015 at 09:24:25PM +0800, Luyao Huang wrote:
>Just refactor existing code to use a child buf instead of
>check all element before format <blkiotune> and <cputune>.
>This will avoid the more and more bigger element check during
>we introduce new elements in <blkiotune> and <cputune> in the
>future.
>
>Signed-off-by: Luyao Huang <lhuang at redhat.com>
>---
> src/conf/domain_conf.c | 168 +++++++++++++++++++------------------------------
> 1 file changed, 65 insertions(+), 103 deletions(-)
>

Nice cleanup, ACK && Pushed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150624/a0ead97e/attachment-0001.sig>


More information about the libvir-list mailing list