1. 15 5月, 2008 3 次提交
  2. 13 5月, 2008 2 次提交
    • J
      avoid "not a string literal..." warnings · e830d525
      Jim Meyering 提交于
      * src/qemu_conf.c (qemudParseInterfaceXML): Add "%s".
      (qemudBuildCommandLine, qemudGenerateXML): Likewise.
      e830d525
    • D
      Enable libvirtd drivers to handle signals, in lxc, sigchld triggers vm cleanup · 94311de5
      David L. Leskovec 提交于
      Mon May 12 23:32:21 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com>
      
      	* qemud/qemud.c: get siginfo with signals, distribute to drivers that
          register a handler
      	* src/driver.h: add sighandler function to state driver table
      	* src/internal.h: define virStateSigDispatcher functions
      	* src/libvirt.c: add __virStateSigDispatcher function
      	* src/libvirt_sym.version: add __virStateSigDispatcher
      	* src/lxc_driver.c: add sig handler function, cleanup vm when sigchld
          received from container process
      	* src/qemu_driver.c: NULL for sig handler (no handler) in state driver
      	* src/remote_internal.c: NULL for sig handler (no handler) in state driver
      	* src/storage_driver.c: NULL for sig handler (no handler) in state driver
      94311de5
  3. 10 5月, 2008 1 次提交
  4. 09 5月, 2008 6 次提交
    • J
      Use gnulib's c-ctype.h, not <ctype.h>. · 25534052
      Jim Meyering 提交于
      # Convert uses of isspace to c_isspace, isdigit to c_isdigit, etc.
      re=$(man isspace|grep is.....,.is|sed 's/ -.*//' \
        |tr -s ', \n' \||sed 's/^|//;s/|$//')
      git grep -l -E "$re"|grep -Ev 'Chan|gnulib' \
        |xargs perl -pi -e 's/\b('"$re"')\b/c_$1/g'
      # Remove all uses of to_uchar
      git grep -l to_uchar|xargs perl -pi -e 's/to_uchar\((.*?)\)/$1/g'
      * src/util.h (to_uchar): Remove definition.
      (TOLOWER): Remove definition.
      (__virMacAddrCompare): Use c_tolower, not TOLOWER.
      Globally:
        Where needed, change <ctype.h> to <c-ctype.h>.
        Remove unnecessary inclusion of <ctype.h>.
      Ensure the global changes are never needed again:
      * Makefile.maint (sc_avoid_ctype_macros): Prohibit use of ctype
      macros.   Recommend c-ctype.h instead.
      (sc_prohibit_c_ctype_without_use): New rule.
      (sc_prohibit_ctype_h): New rule.  Disallow use of <ctype.h>.
      25534052
    • D
      autostart for running Xen domains · 5e1bd046
      Daniel Veillard 提交于
      * src/xen_unified.c src/xend_internal.c src/xend_internal.h: patch
        from Cole Robinson implementing autostart for running Xen domains
      Daniel
      5e1bd046
    • J
      avoid one more ctype vs. sign-extension problem · b8111adf
      Jim Meyering 提交于
      * src/util.c (TOLOWER): Also convert tolower argument.
      b8111adf
    • J
      complete the previous change · 6d132b54
      Jim Meyering 提交于
      6d132b54
    • J
      add "const" and "static" attributes to file-scoped globals · 71225100
      Jim Meyering 提交于
      * src/storage_backend_fs.c (fileTypeInfo): Add "static" and two
      "const" attributes.
      (FileTypeInfo): Name the previously anonymous struct,
      so the declaration of fileTypeInfo looks more conventional.
      * src/xend_internal.c (sound_models): Mark as static, and
      as an array of "const" entries.
      
      These were relatively new additions to the list from here:
      nm src/*.o|grep ' D '
      71225100
    • D
      *** empty log message *** · 6ca76333
      David L. Leskovec 提交于
      6ca76333
  5. 08 5月, 2008 3 次提交
  6. 07 5月, 2008 2 次提交
  7. 02 5月, 2008 1 次提交
  8. 30 4月, 2008 2 次提交
    • D
      159cb2b9
    • J
      remove useless tests before xmlFree · 0c37f598
      Jim Meyering 提交于
      * src/qemu_conf.c (qemudParseDiskXML, qemudParseInterfaceXML):
      (qemudParseInputXML, qemudParseDhcpRangesXML):
      * src/remote_internal.c (doRemoteOpen):
      * src/storage_conf.c (virStoragePoolDefParseDoc):
      * src/xm_internal.c (xenXMParseXMLDisk, xenXMParseXMLVif):
      (xenXMParseXMLToConfig, xenXMAttachInterface):
      * src/xml.c (virDomainParseXMLDiskDesc, virDomainParseXMLIfDesc):
      (virDomainXMLDevID):
      0c37f598
  9. 29 4月, 2008 7 次提交
  10. 28 4月, 2008 2 次提交
  11. 26 4月, 2008 2 次提交
  12. 25 4月, 2008 1 次提交
    • J
      avoid problems with sign-extended "char" operand to is* functions · 225ba3f0
      Jim Meyering 提交于
      * src/util.h (to_uchar): Define function.
      * src/nodeinfo.c (linuxNodeInfoCPUPopulate): Apply to_uchar to is* operand.
      * src/qemu_driver.c (qemudExtractMonitorPath): Likewise.
      * src/sexpr.c (_string2sexpr): Likewise.
      * src/stats_linux.c (xenLinuxDomainDeviceID): Likewise.
      * src/util.c (TOLOWER, __virMacAddrCompare, virParseMacAddr): Likewise.
      * src/virsh.c (cmdVcpupin, vshCommandGetToken): Likewise.
      225ba3f0
  13. 18 4月, 2008 2 次提交
    • J
      avoid compile error when <pthread.h> is absent · 2d206f1d
      Jim Meyering 提交于
      * src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if".
      2d206f1d
    • 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
  14. 11 4月, 2008 3 次提交
  15. 10 4月, 2008 2 次提交
  16. 09 4月, 2008 1 次提交