1. 18 12月, 2009 1 次提交
    • D
      Initialize gcrypt threading · 33a198c1
      Daniel P. Berrange 提交于
      GNUTLS uses gcrypt for its crypto functions. gcrypt requires
      that the app/library initializes threading before using it.
      We don't want to force apps using libvirt to know about
      gcrypt, so we make virInitialize init threading on their
      behalf. This location also ensures libvirtd has initialized
      it correctly. This initialization is required even if libvirt
      itself were only using one thread, since another non-libvirt
      library (eg GTK-VNC) could also be using gcrypt from another
      thread
      
      * src/libvirt.c: Register thread functions for gcrypt
      * configure.in: Add -lgcrypt to linker flags
      33a198c1
  2. 16 12月, 2009 1 次提交
  3. 08 7月, 2009 2 次提交
    • J
      generate ChangeLog from git logs into distribution tarball · 27b175b9
      Jim Meyering 提交于
      No longer maintain a version-controlled ChangeLog file, but do
      continue to include a ChangeLog file in distribution tarball.
      * Makefile.am (gen-ChangeLog): New rule.
      (dist-hook): Depend on it.
      (EXTRA_DIST): Add ChangeLog-old.
      * bootstrap (modules): Add gitlog-to-changelog.
      * ChangeLog: Remove file.  Renamed to...
      * ChangeLog-old: ...this.  New file.
      * autogen.sh: Touch ChangeLog, to ensure it exists.  For automake.
      27b175b9
    • J
      remove all .cvsignore files · fb98f4b1
      Jim Meyering 提交于
      fb98f4b1
  4. 17 10月, 2008 1 次提交
    • J
      generate .gitignore files from .cvsignore ones · 164fbbd6
      Jim Meyering 提交于
      * Makefile.maint (sync-vcs-ignore-files): New target.
      Prompted by a patch from James Morris.
      http://thread.gmane.org/gmane.comp.emulators.libvirt/8619/focus=8773
      Add all (now-generated) .gitignore files.
      * .gitignore: New file.
      * build-aux/.gitignore: New file.
      * docs/.gitignore: New file.
      * docs/devhelp/.gitignore: New file.
      * docs/examples/.gitignore: New file.
      * docs/examples/python/.gitignore: New file.
      * gnulib/lib/.gitignore: New file.
      * gnulib/lib/arpa/.gitignore: New file.
      * gnulib/lib/netinet/.gitignore: New file.
      * gnulib/lib/sys/.gitignore: New file.
      * gnulib/tests/.gitignore: New file.
      * include/.gitignore: New file.
      * include/libvirt/.gitignore: New file.
      * po/.gitignore: New file.
      * proxy/.gitignore: New file.
      * python/.gitignore: New file.
      * python/tests/.gitignore: New file.
      * qemud/.gitignore: New file.
      * src/.gitignore: New file.
      * tests/.gitignore: New file.
      * tests/confdata/.gitignore: New file.
      * tests/sexpr2xmldata/.gitignore: New file.
      * tests/virshdata/.gitignore: New file.
      * tests/xencapsdata/.gitignore: New file.
      * tests/xmconfigdata/.gitignore: New file.
      * tests/xml2sexprdata/.gitignore: New file.
      164fbbd6
  5. 24 3月, 2008 1 次提交
    • J
      Add new testing framework and the first test to use it. · f15efcdf
      Jim Meyering 提交于
      * tests/Makefile.am (test_scripts): Add vcpupin.
      (EXTRA_DIST): Add test-lib.sh.
      * tests/test-lib.sh: Testing framework, from coreutils.
      * tests/vcpupin: New file.
      * build-aux/mktempd: New file, from gnulib.
      * bootstrap: Add posix-shell and mktempd to the list of imported modules.
      * gnulib/m4/posix-shell.m4: New file, from gnulib.
      f15efcdf
  6. 06 12月, 2007 1 次提交
    • J
      Use gnulib, starting with its physmem and getaddrinfo modules. · 261e7581
      Jim Meyering 提交于
      New files go into these directories:
        gnulib/lib
        gnulib/m4
        gnulib/tests
      
      * bootstrap: A wrapper around gnulib-tool.
      * configure.in: Invoke gl_EARLY and gl_INIT, being careful to put gl_EARLY
      before any macro that uses AC_COMPILE_IFELSE.
      (AC_OUTPUT): Add lib/Makefile and gl-tests/Makefile.  Remove m4/Makefile.
      * Makefile.am (SUBDIRS): Add gnulib/lib and remove m4.  Add gnulib/tests
      early enough that those tests run before any libvirt unit tests.
      * m4/Makefile.am: Remove file.  Not needed.
      * src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS, libvirt_la_LIBADD): Add ../gnulib/lib/libgnu.la.
      * src/nodeinfo.c: Include "physmem.h".
      * qemud/qemud.c, src/remote_internal.c: Include "getaddrinfo.h".
      (MEMINFO_PATH, linuxNodeInfoMemPopulate): Remove definitions.
      (virNodeInfoPopulate): Use physmem_total, not linuxNodeInfoMemPopulate.
      * tests/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS): Add ../gnulib/lib/libgnu.la.
      * qemud/Makefile.am (libvirtd_LDADD): Add ../gnulib/lib/libgnu.la.
      * tests/nodeinfotest.c (linuxTestCompareFiles): No longer read total
      memory from a file.
      Update expected output not to include "Memory: NNNN"
      * tests/nodeinfodata/linux-nodeinfo-1.txt:
      * tests/nodeinfodata/linux-nodeinfo-2.txt:
      * tests/nodeinfodata/linux-nodeinfo-3.txt:
      * tests/nodeinfodata/linux-nodeinfo-4.txt:
      * tests/nodeinfodata/linux-nodeinfo-5.txt:
      * tests/nodeinfodata/linux-nodeinfo-6.txt:
      * src/test.c [WITH_TEST]: Remove definition of _GNU_SOURCE that
      would conflict with the one now in "config.h".
      * autogen.sh: Add -I gnulib/m4.
      * src/conf.c, src/sexpr.c: Don't define _GNU_SOURCE.
      Instead, include "config.h".
      * qemud/qemud.c: Remove definition of _GNU_SOURCE.
      * src/openvz_driver.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/remote_internal.c: Likewise.
      
      * configure.in: Use AC_CONFIG_AUX_DIR(build-aux), so that a bunch
      of gettextize-generated files go into build-aux/, rather than in
      the top-level directory.
      * .cvsignore: Adjust.
      * build-aux/.cvsignore: New file.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      261e7581