1. 22 5月, 2008 1 次提交
  2. 01 3月, 2008 1 次提交
  3. 29 2月, 2008 1 次提交
    • 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
  4. 28 2月, 2008 1 次提交
  5. 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
  6. 07 12月, 2007 1 次提交
  7. 06 12月, 2007 2 次提交
    • 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
    • D
      Added PolicyKit authentication support · 282342c1
      Daniel P. Berrange 提交于
      282342c1
  8. 05 12月, 2007 2 次提交
  9. 26 11月, 2007 1 次提交
  10. 17 11月, 2007 1 次提交
  11. 15 11月, 2007 1 次提交
    • J
      Make "make distcheck" work. · d5117af3
      Jim Meyering 提交于
      * Makefile.am: Expand some "*" wildcards, and (for now) disable
        the relatively unimportant, distuninstallcheck target.
        Fix a few redirect-directly-to-target bugs.
        Add a few $(srcdir)/ prefixes and add an uninstall-local rule.
      * docs/Makefile.am: More of the same.  Split some long lines.
      * python/Makefile.am: Likewise.
      * python/tests/Makefile.am: Likewise.
      * qemud/Makefile.am: Likewise.
      * tests/Makefile.am: Remove the directories already listed in SUBDIRS.
      * docs/examples/index.py: Adapt to produce the desired changes in
        docs/examples/Makefile.am. Also, sort *.c, so results are reproducible,
        and emit a comment telling emacs and vi that the file is read-only.
      * docs/examples/Makefile.am: Regenerate.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      d5117af3
  12. 13 11月, 2007 1 次提交
  13. 13 10月, 2007 1 次提交
  14. 20 9月, 2007 1 次提交
  15. 19 9月, 2007 1 次提交
  16. 27 6月, 2007 8 次提交
  17. 11 6月, 2007 2 次提交
    • R
      Some fixes for RPM builds: · 0bbe8da8
      Richard W.M. Jones 提交于
      Mon Jun 11 14:10:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
      
      	* libvirt.spec.in: BuildRequires gnutls-devel and
      	  set the remote PIDfile when configuring.
      	* qemud/Makefile.am: Distribute the Perl scripts.
      	* qemud/qemud.c: Only use QEMUD_DEBUG when ENABLE_DEBUG
      	  is defined.
      0bbe8da8
    • R
      Mon Jun 11 12:49:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 9172d0ec
      Richard W.M. Jones 提交于
      	* qemud/Makefile.am, qemud/dispatch.c, qemud/dispatch.h,
      	  qemud/internal.h, qemud/protocol.c,
      	  qemud/protocol.h, qemud/protocol.x, qemud/qemud.c:
      	  libvirt_qemud server-side modifications to use
      	  XDR-based protocol instead of homebrew (Dan Berrange).
      	  QEMUD server modified to dispatch calls from remote
      	  clients (Richard Jones).  Added TLS support (Richard Jones).
      	  Added TCP & IPv6 support (Richard Jones).
      	  Additional configuration file, command-line handling, and
      	  usage (Richard Jones).
      	* qemud/conf.c: Remove unnecessary header file.
      9172d0ec
  18. 29 5月, 2007 1 次提交
    • R
      +Tue May 29 15:41:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 0832c58c
      Richard W.M. Jones 提交于
      +
      +       * TODO: Added a note about requiring C++ compiler because of a
      +         possible problem with libtool autoconf macros.
      +       * docs/examples/Makefile.am, proxy/Makefile.am, qemud/Makefile.am,
      +         src/Makefile.am, tests/Makefile.am: Pass $(WARN_CFLAGS) when
      +         linking, so if -fstack-protector is there, gcc will link to
      +         the stack protector library.
      +       * tests/xencapstest.c: Allow this test to compile when Xen
      +         libraries are not enabled.
      +
      0832c58c
  19. 19 5月, 2007 1 次提交
  20. 04 4月, 2007 1 次提交
  21. 16 3月, 2007 1 次提交
    • D
      * include/libvirt/libvirt.h[.in] include/libvirt/virterror.h · 635ae389
      Daniel Veillard 提交于
        proxy/libvirt_proxy.c qemud/Makefile.am qemud/conf.c qemud/conf.h
        qemud/dispatch.c qemud/internal.h qemud/protocol.h
        src/driver.h src/internal.h src/libvirt.c src/libvirt_sym.version
        src/proxy_internal.c src/proxy_internal.h src/qemu_internal.c
        src/test.c src/virsh.c src/virterror.c src/xen_internal.c
        src/xen_internal.h src/xend_internal.c src/xm_internal.c
        src/xml.h src/xs_internal.c: applied patch from Richard Jones
        adding virConnectGetCapabilities(), plus various small little
        fixes
      * docs/*: fixed the api extractor script and regenerated
      Daniel
      635ae389
  22. 14 3月, 2007 1 次提交
  23. 12 3月, 2007 1 次提交
  24. 09 3月, 2007 1 次提交
  25. 08 3月, 2007 1 次提交
  26. 07 3月, 2007 1 次提交
  27. 02 3月, 2007 1 次提交
    • M
      Thu Mar 01 16:17:48 EST 2007 Mark McLoughlin <markmc@redhat.com> · 51d56098
      Mark McLoughlin 提交于
              * acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
              GNOME but with a few more flags we'd been using.
      
              * configure.in: use that instead of setting CFLAGS
              directly.
      
              * proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
                src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
      51d56098
  28. 26 2月, 2007 1 次提交
  29. 23 2月, 2007 2 次提交