[libvirt] VIR_WARN and VIR_WARN0 normalization

Jim Meyering jim at meyering.net
Wed May 19 14:50:04 UTC 2010


Here are 5 patches, mostly mechanical,
to straighten out the VIR_WARN and VIR_WARN0 situation.

1: mechanically remove all _(...) uses in VIR_WARN*.
2: remove the few remaining _(...) uses manually
3: add syntax-check rule to enforce the policy
4 clean up bogosity I noticed along the way, first automatically,
5 ... then manually

 b/cfg.mk                       |   19 +++++++++++++------
 b/daemon/libvirtd.c            |    6 +++---
 b/po/POTFILES.in               |    2 --
 b/src/lxc/lxc_container.c      |    2 +-
 b/src/lxc/lxc_controller.c     |    2 +-
 b/src/network/bridge_driver.c  |    8 ++++----
 b/src/phyp/phyp_driver.c       |   12 ++++++------
 b/src/qemu/qemu_conf.c         |   12 ++++++------
 b/src/qemu/qemu_driver.c       |   32 ++++++++++++++++----------------
 b/src/qemu/qemu_monitor_text.c |   22 +++++++++++-----------
 b/src/uml/uml_driver.c         |   12 ++++++------
 b/src/util/logging.c           |    8 ++++----
 b/src/util/pci.c               |    8 ++++----
 b/src/util/uuid.c              |    6 +++---
 b/src/xen/proxy_internal.c     |    6 +++---
 src/phyp/phyp_driver.c         |   12 ++++--------
 16 files changed, 85 insertions(+), 84 deletions(-)




More information about the libvir-list mailing list