1. 05 11月, 2008 4 次提交
  2. 29 10月, 2008 1 次提交
    • J
      remove src/socketcompat.h; no longer needed · f79ebbd1
      Jim Meyering 提交于
      * src/socketcompat.h: Remove file.
      * src/remote_internal.c: Don't include socketcompat.h.
      * qemud/qemud.h: Likewise.
      * qemud/remote_protocol.x: Likewise, but do include <arpa/inet.h>
      for htonl.
      * src/remote_internal.c: Likewise, but do include <errno.h>.
      * qemud/remote_protocol.c: Regenererate.
      * qemud/remote_protocol.h: Regenererate.
      * src/Makefile.am (REMOTE_DRIVER_SOURCES): Remove socketcompat.h.
      f79ebbd1
  3. 24 10月, 2008 1 次提交
  4. 16 10月, 2008 1 次提交
  5. 10 10月, 2008 1 次提交
  6. 04 10月, 2008 1 次提交
  7. 05 9月, 2008 1 次提交
  8. 27 8月, 2008 1 次提交
  9. 21 8月, 2008 2 次提交
  10. 13 8月, 2008 1 次提交
  11. 05 8月, 2008 1 次提交
  12. 01 8月, 2008 1 次提交
    • R
      'virsh edit' and related commands · 969fa847
      Richard W.M. Jones 提交于
      	* src/virsh.c: Implement 'virsh edit', 'virsh net-edit' and
      	  'virsh pool-edit' commands.  These edit the XML for domains,
      	  networks and storage pools respectively, and are the
      	  equivalent of doing 'virsh dumpxml; vi foo.xml; virsh define'
      	* src/Makefile.am, src/.cvsignore: Auto-generate the net-edit
      	  and pool-edit commands.
      	* docs/virsh.pod: Updated the documentation.
      969fa847
  13. 12 7月, 2008 1 次提交
  14. 11 7月, 2008 1 次提交
  15. 27 6月, 2008 1 次提交
  16. 11 6月, 2008 1 次提交
  17. 10 6月, 2008 1 次提交
    • R
      virDomainMemoryPeek API · 6bcf2501
      Richard W.M. Jones 提交于
              * include/libvirt/libvirt.h.in, src/libvirt.c, src/driver.h,
                src/libvirt_sym.version: New virDomainMemoryPeek API.
              * qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
                Support for remote.
              * src/qemu_driver.c: QEMU driver implementation of API.
              * src/test.c: Test driver (null) implementation of API.
              * docs/hvsupport.html.in: Document API.
              * libvirt.spec.in: New path /var/cache/libvirt for temporary
                storage of memory images.
              * qemud/libvirtd.init.in: Remove any old temp files in
                /var/cache/libvirt on restarts.
              * src/Makefile.am: make install creates /var/cache/libvirt.
              * configure.in: Detect mkdir -p.
      6bcf2501
  18. 30 5月, 2008 1 次提交
  19. 22 5月, 2008 1 次提交
  20. 29 4月, 2008 2 次提交
  21. 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
  22. 10 4月, 2008 1 次提交
  23. 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
  24. 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
  25. 27 2月, 2008 2 次提交
  26. 25 2月, 2008 1 次提交
  27. 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
  28. 20 2月, 2008 6 次提交