1. 22 5月, 2008 1 次提交
  2. 29 4月, 2008 2 次提交
  3. 18 4月, 2008 1 次提交
    • R
      Fixes for MinGW. · 8df91acf
      Richard W.M. Jones 提交于
      	* configure.in: Fix pkg-config detection of libxml2,
      	  add -lgcrypt to gnutls lib.
      	* src/Makefile.am: If compiling --without-libvirtd then
      	  don't compile any part of the storage driver.
      	* configure.in, src/hash.c, src/internal.h: Detect availability
      	  of pthread library and compile out mutex code if not available.
      	* src/storage_driver.c, src/util.c: Ignore some missing
      	  headers on MinGW.
      8df91acf
  4. 10 4月, 2008 1 次提交
  5. 21 3月, 2008 1 次提交
    • D
      Initial Linux containers work · f1638952
      Daniel Veillard 提交于
      * configure.in include/libvirt/virterror.h src/Makefile.am
        src/driver.h src/lxc_conf.[ch] src/lxc_driver.[ch] src/virterror.c:
        Applied 3 patches from Dave Leskovec for intial support of
        Linux containers, configured off by default, work in progress.
      * src/libvirt.c: improve virDomainCreateLinux xmlDesc description
      Daniel
      f1638952
  6. 29 2月, 2008 2 次提交
    • J
      Rewrite test-coverage rules to accommodate multiple .o files per .c. · ba52fcbc
      Jim Meyering 提交于
      * src/Makefile.am (cov): Rewrite rule to merge gcov results corresponding
      to two .o files: the libvirt_la- one, and the libvirt_test_la- one.
      (tst): Remove unused rule.
      * configure.in (LV_LIBTOOL_OBJDIR): Define and AC_SUBST.
      ba52fcbc
    • J
      Avoid link errors with "configure --disable-shared". · 9262d88e
      Jim Meyering 提交于
      * src/Makefile.am: Create a convenience library, libvirt_test.la,
      and don't restrict access to *its* symbols.
      * tests/Makefile.am (LDADDS): Add ../src/libvirt_test.la, so that
      "configure --disable-shared" no longer provokes link errors.
      (LIBVIRT): Remove definition.
      (LDADDS): Remove use.
      ($(LIBVIRT)): Remove rule.
      (LDADDS): Use the new convenience library instead.
      (CLEANFILES): Define.
      * docs/examples/index.py (dump_Makefile): Append $(COVERAGE_LDFLAGS),
      to the LDADDS definition, to avoid link error with the combination of
      --enable-test-coverage and --disable-shared.
      * docs/examples/Makefile.am: Regenerate.
      * docs/examples/index.html: Likewise.
      * qemud/Makefile.am (libvirtd_LDFLAGS): Append $(COVERAGE_LDFLAGS).
      * src/libvirt_sym.version: Remove some SP-before-TAB.
      9262d88e
  7. 27 2月, 2008 2 次提交
  8. 25 2月, 2008 1 次提交
  9. 22 2月, 2008 1 次提交
    • J
      Move safewrite and saferead to a separate file. · a178a4e7
      Jim Meyering 提交于
      We currently use safewrite from inside libvirt and don't want to publish
      any such function name.  However, we do want to use it in applications
      like virsh, libvirtd and libvirt_proxy that link with libvirt.  To that
      end, this change moves that function definition (along with the nearly
      identical saferead) into a new file, util-lib.c.  To avoid maintaining
      separate copies of even such small functions, we simply include that new
      file from util.c.  Then, the separate applications that need to use
      safewrite simply compile and link with util-lib.c.
      
      Of course, this does mean that each of those applications will
      containing two copies of these functions.  However, the functions
      are so small that it's not worth worrying about that.
      
      * src/util.c (saferead, safewrite): Move function definitions to
      util-lib.c and include that .c file.
      * src/util-lib.c (saferead, safewrite): New file.  Functions from src/util.c
      with slight change (s/int r =/ssize_t r =/) to reflect read/write return type.
      * src/util-lib.h: Declare the two moved functions.
      * src/util.h: Remove declarations.  Include src/util-lib.h.
      * proxy/Makefile.am (libvirt_proxy_SOURCES): Add src/util-lib.c.
      * qemud/Makefile.am (libvirtd_SOURCES): Likewise.
      * src/Makefile.am (virsh_SOURCES): Add util-lib.c.  Remove some SP-before-TAB.
      a178a4e7
  10. 20 2月, 2008 6 次提交
  11. 06 1月, 2008 1 次提交
    • R
      Miscellaneous fixes for building on Windows (MinGW). · 029aef1d
      Richard W.M. Jones 提交于
      	* configure.in: xdr functions may require -lxdr.
      	* configure.in, src/Makefile.am: Extra linking flags for
      	  building libvirt DLL.
      	* src/socketcompat.h: Hide Windows Winsock incompatibilities
      	  in a separate header file.
      	* src/remote_internal.c: Switch to using socketcompat.h /
      	  socket_errno().
      	* src/test.c: Switch to using socketcompat.h.
      	* gnulib/lib/arpa/.cvsignore: Ignore another generated file.
      	* src/qparams.c: Include <config.h>.
      029aef1d
  12. 17 12月, 2007 1 次提交
  13. 06 12月, 2007 3 次提交
    • D
      * configure.in src/Makefile.am src/virsh.c: fix compilation problems · 7633453c
      Daniel Veillard 提交于
        when readline headers were found but not the library
      Daniel
      7633453c
    • 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
    • R
      Wed Dec 5 18:00:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · ffdbb903
      Richard W.M. Jones 提交于
              * src/Makefile.am, tests/Makefile.am: Remove LIBOBJS/LTLIBOBJS
                which were incorrectly committed earlier.
      ffdbb903
  14. 05 12月, 2007 1 次提交
  15. 30 11月, 2007 1 次提交
  16. 17 11月, 2007 1 次提交
  17. 15 11月, 2007 1 次提交
  18. 14 11月, 2007 1 次提交
  19. 19 10月, 2007 1 次提交
  20. 13 10月, 2007 1 次提交
  21. 20 9月, 2007 1 次提交
  22. 21 8月, 2007 1 次提交
    • R
      Tue Aug 21 10:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 81005437
      Richard W.M. Jones 提交于
      	* src/libvirt.c (virDomainMigrate): Added virDomainMigrate
      	  API call.
      	* src/xend_internal.c, src/xen_unified.c: Support for migration
      	  of Xen domains.
      	* src/xen_internal.c: Xen capabilities indicates level of
      	  support for migration.
      	* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
      	  Support for migration between remote hypervisors.
      	* src/virsh.c: Added 'virsh migrate' command.
      	* docs/libvir.html, docs/hvsupport.html: Updated hvsupport
      	  documentation.
      81005437
  23. 07 8月, 2007 1 次提交
  24. 26 7月, 2007 1 次提交
  25. 20 7月, 2007 1 次提交
  26. 17 7月, 2007 1 次提交
  27. 27 6月, 2007 4 次提交