[libvirt] [PATCH 0/5] switch python bindings to use libvirt_util

Eric Blake eblake at redhat.com
Fri Feb 3 00:33:19 UTC 2012


As threatened here:
https://www.redhat.com/archives/libvir-list/2012-February/msg00122.html
and as requested here:
https://www.redhat.com/archives/libvir-list/2012-January/msg00491.html

along with some prerequisite patches.  I was quite shocked when I
discovered that we didn't have a syntax-check rule requiring the
use of VIR_FREE, before these patches.

Eric Blake (5):
  build: clean up CPPFLAGS/INCLUDES usage
  python: drop redundant function
  build: prohibit raw malloc and free
  build: expand rule to cover testsuite
  python: use libvirt_util to avoid raw free

 cfg.mk                            |    9 +
 daemon/Makefile.am                |   20 +-
 examples/dominfo/Makefile.am      |    4 +-
 examples/domsuspend/Makefile.am   |    4 +-
 examples/hellolibvirt/Makefile.am |    4 +-
 examples/openauth/Makefile.am     |    4 +-
 python/Makefile.am                |   22 ++-
 python/generator.py               |    4 +-
 python/libvirt-override.c         |  364 ++++++++++++++++++-------------------
 python/typewrappers.c             |   21 +--
 python/typewrappers.h             |    3 +-
 src/Makefile.am                   |   70 ++++----
 src/conf/network_conf.c           |    2 +-
 src/cpu/cpu.c                     |    4 +-
 src/libxl/libxl_conf.c            |   13 +-
 src/rpc/virnetmessage.c           |   23 ++-
 tests/Makefile.am                 |    9 +-
 tests/commandhelper.c             |    6 +-
 tests/cputest.c                   |   36 ++--
 tests/domainsnapshotxml2xmltest.c |    6 +-
 tests/interfacexml2xmltest.c      |    6 +-
 tests/networkxml2argvtest.c       |   10 +-
 tests/networkxml2xmltest.c        |   10 +-
 tests/nodedevxml2xmltest.c        |    6 +-
 tests/nodeinfotest.c              |   10 +-
 tests/nwfilterxml2xmltest.c       |   10 +-
 tests/qemuargv2xmltest.c          |   20 +-
 tests/qemuxml2argvtest.c          |   28 ++--
 tests/qemuxml2xmltest.c           |   10 +-
 tests/qemuxmlnstest.c             |   23 ++-
 tests/qparamtest.c                |    2 +-
 tests/sexpr2xmltest.c             |   10 +-
 tests/storagepoolxml2xmltest.c    |   10 +-
 tests/storagevolxml2xmltest.c     |   14 +-
 tests/testutils.c                 |    9 +-
 tests/testutils.h                 |    3 +-
 tests/virshtest.c                 |    4 +-
 tests/xencapstest.c               |   10 +-
 tests/xmconfigtest.c              |   10 +-
 tests/xml2sexprtest.c             |   10 +-
 tools/Makefile.am                 |   12 +-
 tools/virsh.c                     |    9 +-
 42 files changed, 429 insertions(+), 435 deletions(-)

-- 
1.7.7.6




More information about the libvir-list mailing list