Re: [libvirt] [PATCH] Fix locking issue in testVolumeLookupByPath

2008-12-11 Thread Daniel Veillard
On Wed, Dec 10, 2008 at 03:27:37PM -0500, Cole Robinson wrote: The attached patch fixes a locking issue in the test driver, specifically testStorageVolumeLookupByPath. We were only unlocking the pool object if it was running. This fixed a deadlock I was seeing while adding some new tests to

Re: [libvirt] [PATCH] Fix locking issue in testVolumeLookupByPath

2008-12-11 Thread Cole Robinson
Daniel Veillard wrote: On Wed, Dec 10, 2008 at 03:27:37PM -0500, Cole Robinson wrote: The attached patch fixes a locking issue in the test driver, specifically testStorageVolumeLookupByPath. We were only unlocking the pool object if it was running. This fixed a deadlock I was seeing while

[libvirt] [PATCH] Fix locking issue in testVolumeLookupByPath

2008-12-10 Thread Cole Robinson
The attached patch fixes a locking issue in the test driver, specifically testStorageVolumeLookupByPath. We were only unlocking the pool object if it was running. This fixed a deadlock I was seeing while adding some new tests to virtinst's test framework. Thanks, Cole diff --git a/src/test.c