1. 21 9月, 2009 1 次提交
    • D
      Move virsh into tools/ directory · 7ff256ec
      Daniel P. Berrange 提交于
      Move the virsh tool and its man page into the tools directory
      
      * Makefile.am: Remove rules for virsh.1 man page
      * virsh.1: Remove auto-generated file
      * docs/Makefile.am: Remove rules for virsh.pod man page
      * docs/virsh.pod: Move to tools/ directory
      * src/Makefile.am, src/.gitignore: Remove rules for virsh
      * src/console.c, src/console.h, src/*.ico, src/virsh_win_icon.rc,
        src/virsh.c: Move into tools/ directory
      * tools/Makefile.am: Add rules for building virsh
      * tools/.gitignore: Ignore virsh built files
      * tests/virshtest.c, tests/int-overflow: Update for new
        virsh location
      7ff256ec
  2. 11 8月, 2009 1 次提交
  3. 20 5月, 2009 1 次提交
    • D
      cleanup of some direct stderr logging · e8da9875
      Daniel Veillard 提交于
      * qemud/qemud.c src/console.c src/network_driver.c
        src/node_device_conf.c src/node_device_hal.c src/storage_conf.c
        src/util.c: cleanup of some direct stderr logging
      daniel
      e8da9875
  4. 17 11月, 2008 1 次提交
  5. 11 4月, 2008 1 次提交
  6. 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
  7. 30 1月, 2008 1 次提交
    • J
      Enable the <config.h>-requiring test; fix violations · a3781881
      Jim Meyering 提交于
      Use <config.h>, not "config.h", per autoconf documentation.
      * Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
      * .x-sc_require_config_h: New file, to list exempted files.
      * Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
      a3781881
  8. 07 12月, 2007 1 次提交
    • R
      Fri Dec 7 14:49:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · 0d14fc0c
      Richard W.M. Jones 提交于
      	* src/console.c, src/console.h, src/virsh.c: Disable
      	  text console on Windows.
      	* src/libvirt.c: Use replacement getpass from Gnulib.
      	* src/libvirt.c: Initialize Winsock before use.
      	* src/remote_internal.c: Header file fixes for Windows.
      	  Don't fail if AI_ADDRCONFIG isn't defined.  Disable
      	  unsupported stuff under Windows.
      	* src/uuid.c: ENODATA unavailable on Windows, use EIO instead.
      	* src/virsh.c: No uid_t / getuid on Windows.
      	* src/virsh.c: No O_SYNC on Windows.
      0d14fc0c
  9. 26 11月, 2007 1 次提交
  10. 29 1月, 2007 1 次提交
  11. 26 1月, 2007 1 次提交