1. 27 11月, 2007 1 次提交
    • D
      * configure.in: when configuring with --prefix=/usr i.e. the same · 1338ed4f
      Daniel Veillard 提交于
        prefix as the installed libvirt, use the same localstatedir /var
        (instead of /usr/var) and sysconfdir /etc (instead of /usr/etc) to
        be able to connect to the system daemon, and use the system local
        options
      * src/xs_internal.c: avoid error message when non-root cannot open
        xenstore
      * src/xend_internal.c: avoid error message when non-root cannot
        directly access xend, in those 2 cases the proxy (or remote code)
        should implement the access so there is no need to raise the error
        there.
      Daniel
      1338ed4f
  2. 26 11月, 2007 11 次提交
  3. 22 11月, 2007 2 次提交
  4. 21 11月, 2007 3 次提交
  5. 20 11月, 2007 3 次提交
  6. 18 11月, 2007 1 次提交
  7. 17 11月, 2007 4 次提交
  8. 16 11月, 2007 3 次提交
  9. 15 11月, 2007 4 次提交
    • J
      Make "make distcheck" work. · d5117af3
      Jim Meyering 提交于
      * Makefile.am: Expand some "*" wildcards, and (for now) disable
        the relatively unimportant, distuninstallcheck target.
        Fix a few redirect-directly-to-target bugs.
        Add a few $(srcdir)/ prefixes and add an uninstall-local rule.
      * docs/Makefile.am: More of the same.  Split some long lines.
      * python/Makefile.am: Likewise.
      * python/tests/Makefile.am: Likewise.
      * qemud/Makefile.am: Likewise.
      * tests/Makefile.am: Remove the directories already listed in SUBDIRS.
      * docs/examples/index.py: Adapt to produce the desired changes in
        docs/examples/Makefile.am. Also, sort *.c, so results are reproducible,
        and emit a comment telling emacs and vi that the file is read-only.
      * docs/examples/Makefile.am: Regenerate.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      d5117af3
    • D
      * src/stats_linux.c: patch from Jim Paris to fix compilation · a4499a22
      Daniel Veillard 提交于
        when Xen isn't installed
      * src/qemu_conf.h: small cleanup of signedness of bitfields
        from Jim Paris
      Daniel
      a4499a22
    • D
      * doc/libvir.html doc/format.html: add missing docs for · ec589607
      Daniel Veillard 提交于
        <shareable/> on disk devices
      * src/Makefile.am: fix the tst build rule for missing libraries
      Daniel
      ec589607
    • J
      Handle failed strdup and malloc. · a3d90988
      Jim Meyering 提交于
      * src/remote_internal.c: Don't dereference NULL after
      failed strdup or malloc in doRemoteOpen.
      a3d90988
  10. 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
  11. 13 11月, 2007 3 次提交
  12. 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