1. 21 5月, 2010 21 次提交
  2. 20 5月, 2010 13 次提交
  3. 19 5月, 2010 6 次提交
    • J
      initialize "meta" in virStorageFileGetMetadata, not in each caller · dcf30d9c
      Jim Meyering 提交于
      Do not require each caller of virStorageFileGetMetadata and
      virStorageFileGetMetadataFromFD to first clear the storage of the
      "meta" buffer.  Instead, initialize that storage in
      virStorageFileGetMetadataFromFD.
      * src/util/storage_file.c (virStorageFileGetMetadataFromFD): Clear
      "meta" here, not before each of the following callers.
      * src/qemu/qemu_driver.c (qemuSetupDiskCgroup): Don't clear "meta" here.
      (qemuTeardownDiskCgroup): Likewise.
      * src/qemu/qemu_security_dac.c (qemuSecurityDACSetSecurityImageLabel):
      Likewise.
      * src/security/security_selinux.c (SELinuxSetSecurityImageLabel):
      Likewise.
      * src/security/virt-aa-helper.c (get_files): Likewise.
      dcf30d9c
    • J
      (qemu*DiskCgroup): avoid dead code · e638a246
      Jim Meyering 提交于
      * src/qemu/qemu_driver.c (qemuTeardownDiskCgroup): Remove
      bogus empty-body while-loop.
      (qemuSetupDiskCgroup): Likewise.
      e638a246
    • J
      maint: more VIR_WARN corrections: now manually · acd981e3
      Jim Meyering 提交于
      * po/POTFILES.in: Remove src/util/logging.c and src/util/uuid.c.
      * src/phyp/phyp_driver.c (phypUUIDTable_ReadFile): Correct more
      VIR_WARN uses, now manually.
      (phypUUIDTable_Init, phypUUIDTable_Pull): Likewise.
      acd981e3
    • J
      maint: use VIR_WARN0("...") rather than VIR_WARN("%s", "...") · 3f76a993
      Jim Meyering 提交于
      Run this command:
        git grep -l 'VIR_WARN("%s", "'|xargs perl -pi -e \
          's/VIR_WARN\("%s", "/VIR_WARN0("/'
      * src/phyp/phyp_driver.c (phypDomainGetInfo): Perform the above.
      (phypDomainCreateAndStart, phypUUIDTable_ReadFile): Likewise.
      3f76a993
    • J
      maint: enforce no-markup policy wrt VIR_WARN-like macros · 052893cf
      Jim Meyering 提交于
      * cfg.mk (sc_prohibit_gettext_markup): New rule, to enforce
      this policy.  Contrary to most diagnostic-emitting functions,
      where we require _(...) markup, here, we require that _() *not*
      be used for certain functions (or function-like macros).
      052893cf
    • J
      maint: remove _(...) from VIR_WARN arg manually · feb93e98
      Jim Meyering 提交于
      * src/util/uuid.c (virUUIDGenerate): Remove _(...) manually.
      feb93e98