1. 06 2月, 2008 1 次提交
  2. 31 1月, 2008 1 次提交
  3. 30 1月, 2008 2 次提交
    • 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
    • J
      Given code like if (foo) free (foo); remove the useless "if (foo) " part. · acff2d11
      Jim Meyering 提交于
      Likewise, given if (foo != NULL) free (foo); remove the useless "if" test.
      
      * proxy/libvirt_proxy.c: Remove unnecessary "if" test before free.
      * python/generator.py: Likewise.
      * qemud/qemud.c: Likewise.
      * src/buf.c: Likewise.
      * src/conf.c: Likewise.
      * src/hash.c: Likewise.
      * src/iptables.c: Likewise.
      * src/libvirt.c: Likewise.
      * src/openvz_conf.c: Likewise.
      * src/qemu_conf.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/remote_internal.c: Likewise.
      * src/test.c: Likewise.
      * src/virsh.c: Likewise.
      * src/virterror.c: Likewise.
      * src/xen_internal.c: Likewise.
      * src/xen_unified.c: Likewise.
      * src/xend_internal.c: Likewise.
      * src/xm_internal.c: Likewise.
      * src/xml.c: Likewise.
      * src/xmlrpc.c: Likewise.
      * src/xs_internal.c: Likewise.
      * tests/testutils.c: Likewise.
      * tests/xencapstest.c: Likewise.
      * tests/xmconfigtest.c: Likewise.
      acff2d11
  4. 22 1月, 2008 1 次提交
  5. 12 12月, 2007 1 次提交
    • J
      Use a variable name as sizeof argument, not a type name. · 49230350
      Jim Meyering 提交于
      Given code like: T *var = calloc (n, sizeof (T));
      Convert to this: T *var = calloc (n, sizeof (*var));
      This first-cut change adjusts all malloc, calloc, and
      realloc statements.
      
      The only binary differences are in remote_internal.c
      (due to the bug fix) and in xmlrpc.c (due to factorization).
      
      * python/libvir.c: As above.
      * qemud/event.c: Likewise.
      * qemud/mdns.c: Likewise.
      * qemud/qemud.c: Likewise.
      * qemud/remote.c: Likewise.
      * src/bridge.c: Likewise.
      * src/buf.c: Likewise.
      * src/conf.c: Likewise.
      * src/hash.c: Likewise.
      * src/iptables.c: Likewise.
      * src/openvz_conf.c: Likewise.
      * src/qemu_conf.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/test.c: Likewise.
      * src/xen_internal.c: Likewise.
      * src/xen_unified.c: Likewise.
      * src/xm_internal.c: Likewise.
      * src/xml.c: Likewise.
      * tests/qemuxml2argvtest.c: Likewise.
      * src/xmlrpc.c (xmlRpcValuePtr): Likewise, and minor factorization.
      * src/remote_internal.c (remoteAuthMakeCredentials): Use the right
      type when allocating space for an array of cred _pointers_.
      49230350
  6. 06 12月, 2007 1 次提交
    • J
      Include "config.h". · 87396257
      Jim Meyering 提交于
      * qemud/event.c: Likewise.
      * src/buf.c: Likewise.
      * src/hash.c: Likewise.
      * src/nodeinfo.c: Likewise.
      * src/openvz_conf.c: Likewise.
      * src/proxy_internal.c: Likewise.
      * src/virterror.c: Likewise.
      * src/xmlrpc.c: Likewise.
      * src/xs_internal.c: Likewise.
      * tests/conftest.c: Likewise.
      * tests/xmlrpctest.c: Likewise.
      This fixes a mingw build failure reported by Rich Jones.
      
      Author: Jim Meyering <meyering@redhat.com>
      87396257
  7. 01 12月, 2007 1 次提交
  8. 06 7月, 2007 1 次提交
    • R
      Fri Jul 6 16:00:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 16eae80e
      Richard W.M. Jones 提交于
      	* src/hash.c, src/internal.h: Remove virGetDomainByID function
      	  as it is not used or exported.
      	* src/proxy_internal.c, src/qemu_driver.c, src/remote_internal.c,
      	  src/test.c, src/xend_internal.c, src/xs_internal.c: Fix
      	  all callers to virGetDomain and virGetNetwork functions -
      	  the callers do not need to set virterror since it is already
      	  set inside the functions.
      16eae80e
  9. 08 5月, 2007 2 次提交
  10. 04 4月, 2007 1 次提交
  11. 23 3月, 2007 1 次提交
  12. 07 3月, 2007 1 次提交
  13. 14 2月, 2007 4 次提交
    • M
      Tue Feb 14 14:58:35 EST 2007 Mark McLoughlin <markmc@redhat.com · e018cbc7
      Mark McLoughlin 提交于
              * src/hash.c, src/internal.h: Re-name virConnect->domains_mux
              to virConnect->hashes_mux since it will also be used to
              protect the networks hash.
      e018cbc7
    • M
      Tue Feb 14 14:42:38 EST 2007 Mark McLoughlin <markmc@redhat.com · d16a83dd
      Mark McLoughlin 提交于
              * src/internal.h: add virConnect->qemud_fd so that
              xen and qemu don't share the handle member.
      
              * src/hash.c, src/qemu_internal.c: update
      d16a83dd
    • M
      Tue Feb 14 15:37:17 EST 2007 Mark McLoughlin <markmc@redhat.com> · 8ce3203a
      Mark McLoughlin 提交于
              Note: potential ABI break here, but people should
              only really be using virError structs returned from
              libvirt itself.
      
              * include/libvirt/virterror.h: add virNetwork
              to virError
      
              * src/internal.h, src/virterror.c: add network param
              to __virRaiseError()
      
              * src/conf.c, src/hash.c, src/libvirt.c, src/proxy_internal.c,
              src/qemu_internal.c, src/sexpr.c, src/test.c, src/xen_internal.c,
              src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c,
              src/xs_internal.c: update.
      8ce3203a
    • M
      Tue Feb 14 15:33:05 EST 2007 Mark McLoughlin <markmc@redhat.com> · 5be54b40
      Mark McLoughlin 提交于
              * include/libvirt/libvirt.h.in: add the networks APIs
      
              * include/libvirt/virterror.h: add some error codes
      
              * src/driver.h: add network driver vtable
      
              * src/hash.c: add networks hash
      
              * src/internal.h: add virNetwork
      
              * src/libvirt.c: hook up the APIs to the network
              driver
      
              * src/libvirt_sym.version: add the new APIs
      
              * src/virterror.c: handle the new error codes
      5be54b40
  14. 23 1月, 2007 2 次提交
    • M
      Mon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com> · 6d153563
      Mark McLoughlin 提交于
              * include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and
              VIR_UUID_STRING_BUFLEN
      
              * libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c,
              libvirt/src/internal.h, libvirt/src/libvirt.c,
              libvirt/src/proxy_internal.c, libvirt/src/test.c,
              libvirt/src/virsh.c, libvirt/src/xend_internal.c,
              libvirt/src/xm_internal.c, libvirt/src/xml.c,
              libvirt/python/libvir.c: use them
      6d153563
    • M
      Mon Jan 22 16:23:52 IST 2007 Mark McLoughlin <markmc@redhat.com> · e9371d1a
      Mark McLoughlin 提交于
      	* src/internal.h: virDomain.handle refers to the "id"
      	in the API, so re-name to virDomain.id to avoid
      	confusion.
      
      	* src/hash.c, src/libvirt.c, src/proxy_internal.c, src/test.c,
      	src/xen_internal.c, src/xend_internal.c, src/xm_internal.c,
      	src/xml.c, src/xs_internal.c: update for rename.
      e9371d1a
  15. 16 11月, 2006 1 次提交
  16. 21 9月, 2006 1 次提交
  17. 30 5月, 2006 1 次提交
  18. 29 4月, 2006 1 次提交
  19. 25 4月, 2006 1 次提交
  20. 09 4月, 2006 1 次提交
    • D
      * TODO src/hash.[ch] src/internal.h src/libvirt.c src/xend_internal.c · 572806a9
      Daniel Veillard 提交于
        src/xs_internal.c: implementing domain pointers unification, thread
        safety and reference counting for domain and connections, this was
        the last critical change needed before making further progresses at
        the API level. Still a couple fo things TODO for this, unification
        at the Python level and adding UUID to hash. All domain/connect alloc
        and free routines are now centralized in hash.c
      * docs/APIchunk1.html docs/libvirt-api.xml docs/libvirt-refs.xml
        docs/html/libvirt-libvirt.html: regenerated the docs, that doesn't
        change the API.
      Daniel
      572806a9
  21. 05 4月, 2006 1 次提交
    • D
      * src/hash.c: tiny fix · 6bd95bf2
      Daniel Veillard 提交于
      * src/internal.h: starting to work on reentrancy
      * src/libvirt.c: applied patch from Jim Fehlig to fix
        virDomainLookupByID when run as root.
      Daniel
      6bd95bf2
  22. 15 3月, 2006 1 次提交
  23. 07 12月, 2005 1 次提交
  24. 05 12月, 2005 1 次提交
  25. 30 11月, 2005 1 次提交