1. 27 2月, 2008 1 次提交
  2. 07 2月, 2008 1 次提交
  3. 06 2月, 2008 1 次提交
  4. 05 2月, 2008 1 次提交
    • J
      Eliminate all uses of virBufferAdd with string literals. · fb66d5ab
      Jim Meyering 提交于
      * Makefile.maint (sc_prohibit_virBufferAdd_with_string_literal):
      New rule.
      * src/buf.h (virBufferAddLit): Define.
      * src/conf.c (virConfSaveValue): Use virBufferAddLit, in place
      of virBufferAdd everywhere possible.
      (virConfSaveEntry): Likewise.
      * src/qemu_conf.c (qemudGenerateXML, qemudGenerateNetworkXML): Likewise.
      * src/qemu_driver.c (qemudGetFeatures, qemudGetCapabilities): Likewise.
      * src/test.c (testDomainDumpXML, testNetworkDumpXML): Likewise.
      * src/xen_internal.c (xenHypervisorMakeCapabilitiesXML): Likewise.
      * src/xend_internal.c (xend_parse_sexp_desc_os): Likewise.
      (xend_parse_sexp_desc, sexpr_to_xend_topology_xml): Likewise.
      * src/xm_internal.c (xenXMDomainFormatXML, xenXMDomainPinVcpu): Likewise.
      * src/xml.c (virSaveCpuSet, virParseXenCpuTopology): Likewise.
      (virDomainParseXMLGraphicsDescImage): Likewise.
      (virDomainParseXMLGraphicsDescVFB, virDomainParseXMLOSDescHVM): Likewise.
      (virDomainParseXMLOSDescPV, virDomainParseXMLDiskDesc): Likewise.
      (virDomainParseXMLIfDesc, virDomainParseXMLDesc): Likewise.
      fb66d5ab
  5. 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
  6. 25 1月, 2008 1 次提交
  7. 10 1月, 2008 1 次提交
  8. 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
  9. 06 12月, 2007 1 次提交
  10. 03 12月, 2007 1 次提交
  11. 16 11月, 2007 1 次提交
    • R
      Thu Nov 15 17:40:15 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · 7a66394f
      Richard W.M. Jones 提交于
      	* docs/hvsupport.html, docs/libvir.html: Document HV support
      	  for virNodeGetFreeMemory and virNodeGetCellsFreeMemory.
      	* src/libvirt.c: Add DEBUG to virNodeGetFreeMemory and
      	  virNodeGetCellsFreeMemory.
      	* src/xen_internal.c: virXenError* functions now take an
      	  additional virConnectPtr argument, and set it where possible.
      7a66394f
  12. 14 11月, 2007 2 次提交
  13. 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
  14. 31 10月, 2007 1 次提交
  15. 23 10月, 2007 1 次提交
  16. 30 9月, 2007 1 次提交
  17. 28 9月, 2007 1 次提交
    • D
      * include/libvirt/libvirt.h[.in] src/driver.h src/openvz_driver.c · 4bf3bc9e
      Daniel Veillard 提交于
        src/qemu_driver.c src/remote_internal.c src/test.c
        src/xen_internal.[ch] src/xen_unified.c src/xend_internal.[ch]
        src/libvirt.c src/libvirt_sym.version: adding NUMA support patches
        from Beth Kon adding new virNodeGetCellsFreeMemory entry point
        and extending the virConnectGetCapabilities one. Fix a couple of
        issues in the patch and add to exported symbols from shared lib.
      * docs/virsh.pod docs/virsh.1 src/virsh.c: added new command
        freecell to get the available memory on the node or in a NUMA cell.
      * docs/*: updated and regenerated the documentation
      Daniel
      4bf3bc9e
  18. 29 8月, 2007 1 次提交
  19. 21 8月, 2007 2 次提交
    • R
      Tue Aug 21 10:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 442a1577
      Richard W.M. Jones 提交于
      	* src/libvirt.c (virDomainBlockStats, virDomainInterfaceStats):
      	  Added block device and network interface statistics.
      	* src/xen_internal.c: Support for stats from Xen domains.
      	* qemud/remote.c, qemud/remote_protocol.x, qemud/remote_internal.c:
      	  Support for fetching device and network interface stats
      	  across remote connections.
      	* src/virsh.c: Added 'virsh domblkstat' and 'virsh domifstat'
      	  commands to display stats.
      	* docs/libvir.html, docs/hvsupport.html: Updated hvsupport
      	  documentation.
      442a1577
    • R
      Tue Aug 21 10:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 81005437
      Richard W.M. Jones 提交于
      	* src/libvirt.c (virDomainMigrate): Added virDomainMigrate
      	  API call.
      	* src/xend_internal.c, src/xen_unified.c: Support for migration
      	  of Xen domains.
      	* src/xen_internal.c: Xen capabilities indicates level of
      	  support for migration.
      	* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
      	  Support for migration between remote hypervisors.
      	* src/virsh.c: Added 'virsh migrate' command.
      	* docs/libvir.html, docs/hvsupport.html: Updated hvsupport
      	  documentation.
      81005437
  20. 11 8月, 2007 1 次提交
  21. 30 7月, 2007 1 次提交
  22. 20 7月, 2007 2 次提交
  23. 19 7月, 2007 2 次提交
  24. 12 7月, 2007 1 次提交
  25. 06 7月, 2007 1 次提交
    • R
      Fri Jul 6 16:08:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 4ea0ef79
      Richard W.M. Jones 提交于
      	* src/proxy_internal.c, src/proxy_internal.h,
      	  src.xen_internal.c, src/xen_internal.h,
      	  src/xen_unified.c, src/xen_unified.h,
      	  src/xend_internal.c, src/xend_internal.h,
      	  src/xm_internal.c, src/xm_internal.h,
      	  src/xs_internal.c, src/xs_internal.h: The interface
      	  between xen_unified.c and its underlying driver now uses
      	  a custom structure (struct xenUnifiedDriver) instead
      	  of reusing virDriver.
      	* src/xen_unified.c: virDomainLookup* functions in Xen
      	  now throw VIR_ERR_NO_DOMAIN if the domain does not exist.
      	* src/xs_internal.c: Fix indentation.
      4ea0ef79
  26. 04 7月, 2007 1 次提交
  27. 27 6月, 2007 1 次提交
  28. 26 6月, 2007 1 次提交
  29. 22 6月, 2007 1 次提交
  30. 06 6月, 2007 2 次提交
  31. 05 6月, 2007 3 次提交
    • D
      Oops2, Daniel · a62e0083
      Daniel Veillard 提交于
      a62e0083
    • D
      oops, Daniel · 3e255474
      Daniel Veillard 提交于
      3e255474
    • D
      * include/libvirt/libvirt.h include/libvirt/libvirt.h.in · 652f3bb1
      Daniel Veillard 提交于
        src/driver.h src/libvirt.c src/libvirt_sym.version
        src/proxy_internal.c src/qemu_internal.c src/test.c
        src/virsh.c src/xen_internal.c src/xen_internal.h src/xen_unified.c
        src/xend_internal.c src/xm_internal.c src/xs_internal.c:
        Applied patches from Atsushi SAKAI to add the scheduler API,
        with patch from Rich Jones for error handing, and a number
        of cleanups and more error checking from me
      Daniel
      652f3bb1
  32. 29 5月, 2007 1 次提交