[libvirt] [PATCH] get rid of virBufferAsprintf where possible

Ján Tomko jtomko at redhat.com
Tue May 7 15:56:33 UTC 2013


On 05/07/2013 12:58 PM, Michal Privoznik wrote:
> On 07.05.2013 12:37, Ján Tomko wrote:
>> Use virBufferAddLit or virBufferAddChar instead.
>> ---
>>  src/conf/domain_conf.c              | 14 +++++++-------
>>  src/conf/network_conf.c             |  4 ++--
>>  src/conf/storage_conf.c             |  6 +++---
>>  src/nwfilter/nwfilter_learnipaddr.c |  2 +-
>>  src/phyp/phyp_driver.c              | 28 +++++++++++++--------------
>>  src/qemu/qemu_command.c             | 38 ++++++++++++++++++-------------------
>>  src/qemu/qemu_domain.c              |  2 +-
>>  src/qemu/qemu_migration.c           |  4 ++--
>>  src/security/virt-aa-helper.c       |  2 +-
>>  src/util/virlog.c                   |  2 +-
>>  src/vmx/vmx.c                       |  2 +-
>>  tools/virsh-domain.c                | 12 ++++++------
>>  12 files changed, 58 insertions(+), 58 deletions(-)
> 
> ACK.
> However, do we want a syntax0check rule for this?

Thanks, I've pushed it now along with the syntax-check rule.

Jan




More information about the libvir-list mailing list