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

lhuang lhuang at redhat.com
Wed Jun 24 09:49:04 UTC 2015


On 06/24/2015 05:32 PM, Martin Kletzander wrote:
> 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.

Thanks for your quick review

Luyao




More information about the libvir-list mailing list