[libvirt] [PATCH -v2 0/2] esx: use coccinelle to avoid code duplication

Marcos Paulo de Souza marcos.souza.org at gmail.com
Wed Jul 4 02:31:21 UTC 2018


Hi guys,

in this second version I address the comments of Michal and Matthias. Changes from v1 are placed in each patch.
Please let me know if you have more suggestions for the approach taken.

Thanks,

Marcos Paulo de Souza (2):
  esx_util.h: Add ESX_VI_CHECK_ARG_LIST macro
  esx: Use ESX_VI_CHECK_ARG_LIST macro to avoid code duplication

 src/esx/esx_driver.c         |   5 +-
 src/esx/esx_network_driver.c |  10 +--
 src/esx/esx_util.c           |   5 +-
 src/esx/esx_util.h           |   8 ++
 src/esx/esx_vi.c             | 165 +++++++----------------------------
 src/esx/esx_vi_methods.c     |  10 +--
 src/esx/esx_vi_types.c       |  51 +++--------
 7 files changed, 57 insertions(+), 197 deletions(-)

-- 
2.17.1




More information about the libvir-list mailing list