Re: [PATCH] openvz: unlock virDomainObj objects in openvzOpen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/14/2012 04:58 AM, Dmitry Guryanov wrote:
> openvzOpen fucntion must leave unlocked virDomainObj objects in
> driver->domains.
> 
> Now even simple commands like list or domain lookup hang,
> for example virsh -c openvz:///system list --all.
> 
> Signed-off-by: Dmitry Guryanov <dguryanov@xxxxxxxxxxxxx>
> ---
>  src/openvz/openvz_conf.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c
> index e62bf8c..802a9f8 100644
> --- a/src/openvz/openvz_conf.c
> +++ b/src/openvz/openvz_conf.c
> @@ -673,6 +673,7 @@ int openvzLoadDomains(struct openvz_driver *driver) {
>              goto cleanup;
>          }
>  
> +        virDomainObjUnlock(dom);
>          dom = NULL;

ACK and pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]