5d8ef8a conf: improve the way we format blkiotune and cputune

1 file Authored by Luyao Huang 8 years ago, Committed by mkletzan 8 years ago,
    conf: improve the way we format blkiotune and cputune
    
    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@redhat.com>
    
        
file modified
+65 -103