1. 06 2月, 2009 4 次提交
    • J
      ChangeLog: correct date formats one last time · 22c9bf6d
      Jim Meyering 提交于
      22c9bf6d
    • J
      qemu_driver.c: use virReportSystemError in place of some qemudLog uses · caea9c00
      Jim Meyering 提交于
      ...thus eliminating many uses of strerror.
      (kvmGetMaxVCPUs): Rather than merely warning, diagnose an error
      and return -1 upon failure to open KVM_DEVICE.  Suggested by
      Daniel P. Berrange.
      caea9c00
    • J
      publicize virStrerror · 7bc569dd
      Jim Meyering 提交于
      * src/virterror.c (virStrerror): Remove "static".
      * src/virterror_internal.h (virStrerror): Declare it.
      * src/libvirt_private.syms: Add virStrerror;
      7bc569dd
    • J
      remove useless code · a9aa76ba
      Jim Meyering 提交于
      * src/bridge.c (brAddTap): Remove redundant errno=ENOMEM assignment
      after failed strdup.
      * src/cgroup.c (virCgroupFree): Remove redundant *group=NULL assignment
      after VIR_FREE(*group).
      * src/lxc_driver.c (lxcShutdown): Likewise.
      * src/xen_unified.c (xenUnifiedClose): Likewise.
      * src/xm_internal.c (xenXMDomainConfigFormat): Rewrite disk-
      and net-config-setting code to be clearer.
      a9aa76ba
  2. 05 2月, 2009 1 次提交
  3. 04 2月, 2009 1 次提交
  4. 03 2月, 2009 6 次提交
    • J
      avoid a format-related warning · 6778ad0f
      Jim Meyering 提交于
      * src/qemu_driver.c (qemudStartVMDaemon): Use "%s".
      6778ad0f
    • J
      build: enable redundant-const check · dff21147
      Jim Meyering 提交于
      * Makefile.cfg (local-checks-to-skip): Remove sc_redundant_const.
      * src/lxc_controller.c: Remove redundant "const"(s).
      * src/storage_backend_fs.c: Likewise.
      * src/util.h: Likewise.
      * src/xen_internal.c: Likewise.
      * tests/qparamtest.c: Likewise.
      dff21147
    • J
      syntax-check: enable more checks · 08f87e3d
      Jim Meyering 提交于
      * Makefile.cfg (local-checks-to-skip): Don't skip sc_m4_quote_check.
      Don't skip sc_prohibit_nonreentrant.
      * Makefile.nonreentrant (NON_REENTRANT): Comment out until we've
      remove all remaining uses of strerror.
      08f87e3d
    • J
      cleanup: remove useless if-before-VIR_FREE · c18ccff4
      Jim Meyering 提交于
      * Makefile.cfg (useless_free_options): Also check for VIR_FREE.
      * src/iptables.c (iptRulesFree): Remove useless if-before-VIR_FREE.
      * src/remote_internal.c (remoteAuthSASL): Likewise.
      * src/test.c (testOpenFromFile): Likewise.
      c18ccff4
    • J
      tests: diagnose more open failures · d26c3387
      Jim Meyering 提交于
      * tests/qemuxml2argvtest.c: Revert the change,
      "tests: diagnose open failure" of 2009-01-30.
      * tests/testutils.c (virtTestLoadFile): Diagnose failure here.
      d26c3387
    • J
      fix more printf("%s", NULL) cases · 66929686
      John Levon 提交于
      66929686
  5. 31 1月, 2009 14 次提交
  6. 30 1月, 2009 9 次提交
  7. 29 1月, 2009 5 次提交
    • J
      * Makefile.cfg: disable some new checks · a9f8c8f5
      Jim Meyering 提交于
      a9f8c8f5
    • J
      * Makefile.maint: sync from coreutils · 3aaad217
      Jim Meyering 提交于
      3aaad217
    • J
      prohibit new uses of VIR_ERR_NO_MEMORY · ecb2eb45
      Jim Meyering 提交于
      * Makefile.maint (sc_prohibit_VIR_ERR_NO_MEMORY): New rule.
      * .x-sc_prohibit_VIR_ERR_NO_MEMORY: New file: exceptions.
      ecb2eb45
    • J
      error-reporting calls using VIR_ERR_NO_MEMORY: use virReportOOMError instead · bc18a91f
      Jim Meyering 提交于
      * src/uml_conf.c (VIR_FROM_THIS): Define to VIR_FROM_UML.
      * src/xs_internal.c (VIR_FROM_THIS): Define to VIR_FROM_XEN.
      * src/xml.c (VIR_FROM_THIS): Define to VIR_FROM_XML.
      * src/stats_linux.c (VIR_FROM_THIS): Define to VIR_FROM_STATS_LINUX.
      * src/datatypes.c (VIR_FROM_THIS): Define to VIR_FROM_NONE.
      * src/lxc_conf.c (VIR_FROM_THIS): Define to VIR_FROM_LXC.
      * src/libvirt.c (VIR_FROM_THIS): Define to VIR_FROM_NONE.
      * src/node_device_conf.c (VIR_FROM_THIS): Define to VIR_FROM_NODEDEV.
      * src/openvz_conf.c (VIR_FROM_THIS): Define to VIR_FROM_OPENVZ.
      * src/openvz_driver.c (VIR_FROM_THIS): Define to VIR_FROM_OPENVZ.
      * src/conf.c (VIR_FROM_THIS): Define to VIR_FROM_CONF.
      Note: this loses config_filename:config_lineno diagnostics,
      but that's ok.
      * src/node_device.c (VIR_FROM_THIS): Define to VIR_FROM_NODEDEV.
      * src/sexpr.c (VIR_FROM_THIS): Define to VIR_FROM_SEXPR.
      * po/POTFILES.in: remove src/sexpr.c and src/lxc_conf.c
      bc18a91f
    • G
      don't abort if setlocale() fails · a99e5ccb
      Guido Günther 提交于
      a99e5ccb