1. 21 9月, 2009 1 次提交
    • D
      Move test driver into src/test/ · 0b648155
      Daniel P. Berrange 提交于
      * src/Makefile.am, src/libvirt.c: Adjust for changed paths
      * src/test.c: Rename to src/test/test_driver.c,
      * src/test.h: Rename to src/test/test_driver.h
      0b648155
  2. 10 9月, 2009 1 次提交
    • D
      Fix misc thread locking bugs / bogus warnings · 5c8d3d3b
      Daniel P. Berrange 提交于
      Fix all thread locking bugs reported by object-locking test
      case.
      
      NB, some of the driver locking is getting too coarse. Driver
      mutexes really need to be turned into RW locks instead to
      significantly increase concurrency.
      
      * src/lxc_driver.c: Fix useof driver when unlocked in the methods
        lxcDomainGetInfo, lxcSetSchedulerParameters, and
        lxcGetSchedulerParameters
      * src/opennebula/one_driver.c: Fix missing unlock in oneDomainUndefine.
        Fix use of driver when unlocked in oneDomainGetInfo,
        oneGetOSType, oneDomainShutdown
      * src/qemu_driver.c: Fix use of driver when unlocked in
        qemudDomainSavem, qemuGetSchedulerType, qemuSetSchedulerParameters
        and qemuGetSchedulerParameters
      * src/storage_driver.c: Re-work storagePoolCreate to avoid bogus
        lock checking warning. Re-work storageVolumeCreateXMLFrom to
        remove a potential NULL de-reference & avoid bogus lock check
        warnings
      * src/test.c: Remove testDomainAssignDef since it break lock chekc
        warnings.
      * tests/object-locking.ml: Add oneDriverLock, oneDriverUnlock
        and one_driver_t methods/types to allow lock checking on the
         OpenNebula drivers
      5c8d3d3b
  3. 04 9月, 2009 1 次提交
    • J
      test.c: don't use undefined local, "def" · 20f1f714
      Jim Meyering 提交于
      * src/test.c (testOpenVolumesForPool): Upon early virAsprintf or
      virXPathNodeSet failure, "goto error" would take us to
      virStorageVolDefFree(def), but with "def" not defined.
      Initialize it to NULL.
      20f1f714
  4. 02 9月, 2009 1 次提交
    • D
      Misc fixes to secrets API code · 575b18c0
      Daniel P. Berrange 提交于
      * proxy/Makefile.am: Build storage_encryption_conf.c since its a
        dependancy of domain_conf.c
      * src/storage_encryption_conf.c: Disable XML parsing APis when
        build under proxy
      * src/test.c: Add a dummy no-op secrets driver for test suite
      575b18c0
  5. 27 7月, 2009 2 次提交
  6. 21 7月, 2009 1 次提交
  7. 23 6月, 2009 4 次提交
  8. 12 6月, 2009 1 次提交
  9. 21 5月, 2009 1 次提交
  10. 19 5月, 2009 2 次提交
  11. 13 5月, 2009 1 次提交
  12. 05 5月, 2009 1 次提交
  13. 03 4月, 2009 1 次提交
  14. 31 3月, 2009 1 次提交
  15. 17 3月, 2009 1 次提交
  16. 03 3月, 2009 2 次提交
  17. 14 2月, 2009 1 次提交
    • J
      test:///default driver: don't dereference NULL "def" · f98b9e05
      Jim Meyering 提交于
      * src/test.c (testNetworkCreate, testNetworkDefine): Since "def" is
      set to NULL immediately after any vir*AssignDef call (to indicate we
      no longer own it and to ensure no clean-up path mistakenly frees it),
      dereference via net->def->, not def->.
      f98b9e05
  18. 03 2月, 2009 1 次提交
    • 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
  19. 21 1月, 2009 2 次提交
  20. 16 1月, 2009 1 次提交
  21. 08 1月, 2009 1 次提交
  22. 07 1月, 2009 2 次提交
  23. 18 12月, 2008 2 次提交
  24. 11 12月, 2008 1 次提交
  25. 08 12月, 2008 2 次提交
  26. 07 12月, 2008 1 次提交
  27. 05 12月, 2008 4 次提交