[libvirt] [PATCH 0/3] Require GnuTLS

Michal Privoznik mprivozn at redhat.com
Tue Jun 5 08:45:54 UTC 2018


As mentioned in discussion to my PRNG patches [1] we use GnuTLS
functions widely. Therefore, make GnuTLS required at build time.
This enables us to drop most of #ifdef WITH_GNULS we have. Not all of
them though because we still want libvirt-setuid-rpc-client.la to build
without GnuTLS.

I should also mention that surprisingly this breaks travis. This time,
it's Ubuntu that lacks new enough GnuTLS and not OSX. But after Peter's
patches travis is broken anyway (on GnuTLS).

Michal Privoznik (3):
  configure: Require GnuTLS
  build: Build gnutls related sources unconditionally
  src: Drop most of #ifdef WITH_GNUTLS

 configure.ac                        |  2 --
 m4/virt-gnutls.m4                   |  4 ---
 src/Makefile.am                     |  7 +----
 src/locking/lock_daemon.c           |  4 ---
 src/logging/log_daemon.c            |  4 ---
 src/lxc/lxc_controller.c            |  2 --
 src/qemu/qemu_migration_cookie.c    | 12 +++-----
 src/remote/remote_daemon.c          | 23 ---------------
 src/remote/remote_daemon_dispatch.c |  2 --
 src/rpc/Makefile.inc.am             | 14 ++-------
 src/rpc/virnetdaemon.h              |  4 +--
 src/rpc/virnetserver.c              |  6 ----
 src/rpc/virnetserver.h              |  6 +---
 src/rpc/virnetserverclient.c        | 57 +++----------------------------------
 src/rpc/virnetserverclient.h        |  8 ------
 src/rpc/virnetserverservice.c       | 24 ----------------
 src/rpc/virnetserverservice.h       | 10 -------
 src/util/vircrypto.c                | 43 ++--------------------------
 tests/Makefile.am                   | 12 ++------
 tests/qemuxml2argvtest.c            | 15 ----------
 tests/vircryptotest.c               | 24 +++++-----------
 tests/virfilecachetest.c            | 18 +++---------
 tests/virnetdaemontest.c            |  8 ------
 tests/virnetserverclienttest.c      |  2 --
 tests/virrandommock.c               |  8 ++----
 25 files changed, 32 insertions(+), 287 deletions(-)

-- 
2.16.4




More information about the libvir-list mailing list