[libvirt PATCH 00/32] the gnulib saga: revenge of the gnus

Daniel P. Berrangé berrange at redhat.com
Thu Jan 23 11:42:53 UTC 2020


We currently have 25 gnulib modules in bootstrap.conf
and after this series we're down to 7. Except this is
a lie, because we've been failing to count the indirect
dependencies, so after this series, libvirt is actually
pulling in 41 modules. Still, that's better than the
115 modules we indirectly use before this series :-)

I have actually eliminated the remaining modules too,
but I'm having trouble with the event loop impl in
the RPC client on Windows that I'm still debugging.
I'll poist the remaining patches once I've figured
out that problem.

Daniel P. Berrangé (32):
  tests: stop setting $SHELL env variable
  util: add a virArchFromHost() impl for Windows
  util: add API for reading password from the console
  src: remove usage of strchrnul function
  build: generate configmake.h in root directory
  util: use getgrouplist() directly instead of mgetgroups
  tools: replace wcwidth() with g_unichar_* APIs
  src: remove unused sys/utsname.h includes
  util: explicitly include windows.h
  storage: remove use of stat-time.h headers
  src: implement APIs for passing FDs over UNIX sockets
  rpc: conditionalize signal handling
  src: only import sys/uio.h when journald is built
  src: replace mkdir() with g_mkdir()
  m4: disable polkit build on Windows
  util: conditionalize more of virCommand on WIN32
  src: remove all traces of Cygwin support
  util: conditionalize virProcess APIs on Windows
  src: conditionalize use of net/if.h
  configure: add check for sys/ioctl.h
  src: conditionalize use of S_ISSOCK macro
  configure: request system specific extensions
  src: stop using O_DIRECTORY in resctrl
  src: ensure O_CLOEXEC is defined on Windows
  src: conditionalize use of F_DUPFD_CLOEXEC
  src: conditionalize use of O_DIRECT
  src: conditionalize use of O_BINARY
  src: conditionalize use of chown & stat constants
  src: convert all code to use virsocket.h
  tests: conditionalize use of SIGPIPE
  src: conditionalize EAI_ADDRFAMILY
  bootstrap: remove 18 more gnulib modules

 Makefile.am                         |  44 ++++++++
 bootstrap.conf                      |  36 ------
 build-aux/syntax-check.mk           |   2 +-
 configure.ac                        |  35 +++---
 m4/virt-compile-pie.m4              |   2 +-
 m4/virt-polkit.m4                   |   4 +
 m4/virt-win-common.m4               |   8 +-
 m4/virt-win-cygwin.m4               |  32 ------
 m4/virt-win-symbols.m4              |   4 +-
 m4/virt-win-windres.m4              |   4 +-
 m4/virt-xdr.m4                      |   9 +-
 po/POTFILES.in                      |   1 -
 src/Makefile.am                     |   8 +-
 src/admin/Makefile.inc.am           |   1 -
 src/conf/network_conf.c             |   2 -
 src/esx/esx_util.c                  |   3 +-
 src/esx/esx_util.h                  |   1 -
 src/internal.h                      |  10 ++
 src/libvirt-domain.c                |   2 +
 src/libvirt.c                       |   9 +-
 src/libvirt_private.syms            |   6 +
 src/libxl/libxl_conf.c              |   2 -
 src/locking/Makefile.inc.am         |   1 -
 src/logging/Makefile.inc.am         |   1 -
 src/lxc/lxc_controller.c            |   4 +-
 src/lxc/lxc_driver.c                |   4 +-
 src/nwfilter/nwfilter_dhcpsnoop.c   |   3 -
 src/nwfilter/nwfilter_learnipaddr.c |   4 +-
 src/openvz/openvz_conf.c            |   4 +-
 src/qemu/qemu_agent.c               |   4 +-
 src/qemu/qemu_conf.c                |   3 +-
 src/qemu/qemu_driver.c              |   3 +-
 src/qemu/qemu_interface.c           |   4 +-
 src/qemu/qemu_migration.c           |   3 +-
 src/qemu/qemu_monitor.c             |   3 +-
 src/qemu/qemu_monitor_json.c        |   4 +-
 src/remote/qemu_protocol.x          |   1 -
 src/remote/remote_protocol.x        |   2 +-
 src/rpc/Makefile.inc.am             |   3 -
 src/rpc/genprotocol.pl              |   2 +-
 src/rpc/virnetclient.c              |  33 ++++--
 src/rpc/virnetdaemon.c              |  35 +++++-
 src/rpc/virnetdaemon.h              |   4 +
 src/rpc/virnetprotocol.x            |   2 +-
 src/rpc/virnetsocket.c              |  42 ++++---
 src/security/security_dac.c         |   4 +
 src/security/security_manager.c     |   2 +
 src/security/security_selinux.c     |  16 +--
 src/storage/storage_util.c          |  24 +++-
 src/util/virarch.c                  |  52 ++++++++-
 src/util/virarptable.c              |   1 -
 src/util/vircgroup.c                |  10 +-
 src/util/vircommand.c               | 165 +++++++++++++++++-----------
 src/util/virdnsmasq.c               |   9 +-
 src/util/virfdstream.c              |  13 +--
 src/util/virfile.c                  |  58 ++++++++--
 src/util/virhostcpu.c               |   1 -
 src/util/virhostmem.c               |   1 -
 src/util/virlog.c                   |   8 +-
 src/util/virnetdev.c                |   1 -
 src/util/virnetdev.h                |   4 +-
 src/util/virnetdevbridge.c          |   8 +-
 src/util/virnetdevip.c              |   4 +-
 src/util/virnetdevmacvlan.c         |   3 +-
 src/util/virnetdevtap.c             |   4 +-
 src/util/virnetdevvportprofile.c    |   3 +-
 src/util/virnetlink.c               |   3 +-
 src/util/virprocess.c               | 103 +++++++++++++----
 src/util/virresctrl.c               |   2 +-
 src/util/virsocket.c                | 142 +++++++++++++++++++++++-
 src/util/virsocket.h                |   6 +-
 src/util/virsocketaddr.c            |   2 -
 src/util/virsocketaddr.h            |  20 +---
 src/util/virsysinfo.c               |  14 ++-
 src/util/virsystemd.c               |   9 +-
 src/util/virutil.c                  |  76 +++++++++----
 src/util/virutil.h                  |   2 +
 src/util/virxdrdefs.h               |  12 +-
 src/vbox/vbox_MSCOMGlue.c           |   6 +-
 tests/Makefile.am                   |   3 -
 tests/libxlmock.c                   |   2 +-
 tests/nsstest.c                     |   3 +-
 tests/testutils.c                   |   2 +-
 tests/virauthconfigtest.c           |   2 +
 tests/virkeyfiletest.c              |   2 +
 tests/virlockspacetest.c            |   4 +-
 tests/virnetmessagetest.c           |   2 +
 tests/virnetsockettest.c            |   3 +-
 tests/virnettlscontexttest.c        |   3 +-
 tests/virnettlshelpers.c            |   1 -
 tests/virnettlssessiontest.c        |   3 +-
 tests/virportallocatormock.c        |   5 +-
 tests/virtestmock.c                 |   9 +-
 tests/virtimetest.c                 |   2 +
 tests/viruritest.c                  |   2 +
 tests/vshtabletest.c                |   8 +-
 tools/nss/libvirt_nss.c             |   7 +-
 tools/virsh-domain.c                |  46 +++++++-
 tools/virt-login-shell.c            |   6 +-
 tools/vsh-table.c                   |   2 +-
 tools/vsh.c                         |  12 +-
 101 files changed, 859 insertions(+), 452 deletions(-)
 delete mode 100644 m4/virt-win-cygwin.m4

-- 
2.24.1




More information about the libvir-list mailing list