1. 15 11月, 2007 3 次提交
  2. 14 11月, 2007 4 次提交
    • R
      Wed Nov 14 11:55:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · 3ba58f15
      Richard W.M. Jones 提交于
      	* src/stats_linux.c, src/stats_linux.h, src_xen_internal.c:
      	  Abstract out the Linux-specific statistics.  Fixed parsing
      	  of 64 bit numbers.
      	* src/Makefile.am: Updated Makefile for new files.
      3ba58f15
    • R
      Wed Nov 14 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · 88f28d69
      Richard W.M. Jones 提交于
      	* src/libvirt.c and all internal driver interfaces: Parse the
      	  URI only once and pass it to virDrvOpen instead of the
      	  unparsed name string.
      88f28d69
    • J
      Parse integers more carefully, cont'd. · 5d254191
      Jim Meyering 提交于
      * qemud/qemud.c: Replace uses of strtol with uses of xstrtol_i.
        Avoid overflow for very large --timeout=N values.
      * src/nodeinfo.c: In linuxNodeInfoMemPopulate and
        linuxNodeInfoCPUPopulate, use xstrtol_i rather than strtol.
        Unlike in qemud.c, here we allow trailing "isspace", and in
        the case of "cpuinfo cpu MHz", also allow a "." terminator,
        since we ignore the decimal and any following digits.
      * src/internal.h: Define xstrtol_ui, too.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      5d254191
    • J
      Arrange for tests to pass in a non-srcdir build. · 5a6571eb
      Jim Meyering 提交于
      * tests/Makefile.am: Include the contents of the *data directories
      in the make-dist-built tarball by adding each of that *data
      directories to EXTRA_DIST.
      Also add int-overflow (via $(test_scripts)) to EXTRA_DIST.
      * tests/nodeinfotest.c: Prepend "$abs_top_srcdir/tests" to
      each input file name.
      * tests/qemuxml2argvtest.c: Likewise.
      * tests/qemuxml2xmltest.c: Likewise.
      * tests/sexpr2xmltest.c: Likewise.
      * tests/test_conf.sh: Likewise.
      * tests/virshtest.c: Likewise.
      * tests/xencapstest.c: Likewise.
      * tests/xmconfigtest.c: Likewise.
      * tests/xml2sexprtest.c: Likewise.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      5a6571eb
  3. 13 11月, 2007 3 次提交
  4. 12 11月, 2007 1 次提交
    • D
      Begin fixing uses of strtol: parse integers more carefully. · a500a479
      Daniel Veillard 提交于
      Patch from Jim Meyering
      * src/internal.h: Include <errno.h>.
        Define new static inline function, xstrtol_i.
      * src/virsh.c: Detect integer overflow in domain ID number
        in vshCommandOptDomainBy. Detect overflow and invalid port
        number suffix in cmdVNCDisplay.
      * src/xend_internal.c: Parse CPU number more carefully in
        xenDaemonDomainGetVcpus.
      * tests/int-overflow: New script. Test for the above-fixed bug.
      * tests/Makefile.am: Add int-overflow to TESTS. Define
        TESTS_ENVIRONMENT, to propagate $abs_top_* variables into the
        int-overflow script. Adapt the "valgrind" rule not to clobber
        new TESTS_ENVIRONMENT.
      Daniel
      a500a479
  5. 09 11月, 2007 3 次提交
  6. 07 11月, 2007 3 次提交
  7. 06 11月, 2007 2 次提交
  8. 05 11月, 2007 1 次提交
  9. 01 11月, 2007 1 次提交
  10. 31 10月, 2007 1 次提交
  11. 27 10月, 2007 5 次提交
  12. 26 10月, 2007 1 次提交
  13. 24 10月, 2007 2 次提交
  14. 23 10月, 2007 4 次提交
  15. 22 10月, 2007 1 次提交
  16. 19 10月, 2007 3 次提交
  17. 17 10月, 2007 2 次提交