libvirt/src/opennebula
Daniel P. Berrange 5c8d3d3bca Fix misc thread locking bugs / bogus warnings
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
2009-09-10 14:26:56 +01:00
..
one_client.c Minor cleanup of error path for c_oneVmInfo. 2009-08-11 13:31:04 +02:00
one_client.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
one_conf.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
one_conf.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
one_driver.c Fix misc thread locking bugs / bogus warnings 2009-09-10 14:26:56 +01:00
one_driver.h Finish the integration of OpenNebula driver 2009-06-24 17:32:56 +00:00