[libvirt] [PATCH] libxl: Drop driver lock in libxlDomainDefineXML

Jim Fehlig jfehlig at suse.com
Fri Sep 19 15:26:43 UTC 2014


Michal Privoznik wrote:
> On 18.09.2014 23:17, Jim Fehlig wrote:
>> There is no need to acquire the driver-wide lock in
>> libxlDomainDefineXML.  When switching to jobs in the libxl
>> driver, most driver-wide locks were removed.  The locking here
>> was preserved since I mistakenly thought virDomainObjListAdd
>> needed protection.  This is not the case, so remove the
>> unnecessary locking.
>>
>> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
>> ---
>>   src/libxl/libxl_driver.c | 13 +++----------
>>   1 file changed, 3 insertions(+), 10 deletions(-)
[...]
>
> ACK

Thanks; pushed.

Regards,
Jim




More information about the libvir-list mailing list