1. 11 3月, 2008 3 次提交
  2. 07 3月, 2008 2 次提交
  3. 05 3月, 2008 2 次提交
  4. 04 3月, 2008 5 次提交
  5. 03 3月, 2008 7 次提交
  6. 01 3月, 2008 1 次提交
  7. 29 2月, 2008 3 次提交
    • R
      Many typos fixed (Atsushi SAKAI). · bb8340c1
      Richard W.M. Jones 提交于
      bb8340c1
    • 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
  8. 28 2月, 2008 5 次提交
  9. 27 2月, 2008 6 次提交
  10. 26 2月, 2008 2 次提交
  11. 25 2月, 2008 2 次提交
    • D
      fix compilation against static libraries · 9b1cd481
      Daniel Veillard 提交于
      * src/Makefile.am src/util-lib.h: fix done with Jim to allow
        compilation of virsh with the static libraries.
      Daniel
      9b1cd481
    • J
      Avoid new "make syntax-check" failures. · e497deb8
      Jim Meyering 提交于
      * .x-sc_avoid_write: Exempt src/util-lib.c, too.
      * Makefile.maint (sc_unmarked_diagnostics): Filter out false positives.
      * src/storage_backend_fs.c (virStorageBackendFileSystemVolCreate):
      Use safewrite, not write.
      * src/storage_backend_logical.c (virStorageBackendLogicalBuildPool): Likewise.
      e497deb8
  12. 23 2月, 2008 1 次提交
    • J
      avoid format string warnings · b1b23f76
      Jim Meyering 提交于
      Avoid warnings like this:
      file:nnn:format not a string literal and no format arguments
      
      * qemud/qemud.c: Insert a "%s" format argument.
      * qemud/remote.c: Likewise.
      * src/iptables.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/storage_backend.c: Likewise.
      * src/storage_backend_fs.c: Likewise.
      * src/storage_backend_iscsi.c Likewise.
      * src/storage_backend_logical.c: Likewise.
      * src/storage_conf.c: Likewise.
      * src/storage_driver.c: Likewise.
      b1b23f76
  13. 22 2月, 2008 1 次提交
    • J
      Use safewrite in place of write, in many cases. · b59d9c85
      Jim Meyering 提交于
      Also add "make syntax-check" rules to ensure no new uses sneak in.
      
      There are many uses of write like this:
      
          if (write (fd, xml, towrite) != towrite)
              return -1;
      
      The problem is that the syscall can succeed, yet write less than
      the requested number of bytes, so the caller should retry
      rather than simply failing.
      
      This patch changes most of them to use util.c's safewrite wrapper,
      which encapsulates the process.  Also, there were a few cases in
      which the retry loop was open-coded, and I replaced those, too.
      
      * Makefile.maint (sc_avoid_write): New rule, to avoid recurrence.
      * .x-sc_avoid_write: New file.  Record two legitimate exemptions.
      * qemud/qemud.c (sig_handler, qemudClientWriteBuf): Use safewrite, not write.
      * src/conf.c (__virConfWriteFile): Likewise.
      * src/qemu_conf.c (qemudSaveConfig, qemudSaveNetworkConfig): Likewise.
      * src/qemu_driver.c (qemudWaitForMonitor, qemudStartVMDaemon)
      (qemudVMData, PROC_IP_FORWARD): Likewise.
      * proxy/libvirt_proxy.c: Include "util.h".
      (proxyWriteClientSocket): Use safewrite.
      * src/test.c (testDomainSave, testDomainCoreDump): Likewise.
      * src/proxy_internal.c (virProxyWriteClientSocket): Likewise.
      * src/virsh.c: Include "util-lib.h".
      (vshOutputLogFile): Use safewrite.
      * src/console.c: Include "util-lib.h".
      (vshRunConsole): Use safewrite.
      b59d9c85