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

Re: [libvirt] [PATCH] libxl: fix libvirtd crash when reconnecting domains



On 08/21/2013 11:15 AM, Jim Fehlig wrote:
> More fallout from commit d72ef888.  When reconnecting to running
> domains, the libxl_ctx in libxlDomainObjPrivate was used before
> initializing it, causing a segfault in libxl and consequently
> crashing libvirtd.
> 
> Initialize the libxlDomainObjPrivate libxl_ctx in libxlReconnectDomain,
> and while at it use this ctx in libxlReconnectDomain instead of the
> driver-wide ctx.
> ---
>  src/libxl/libxl_driver.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

ACK.

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

Attachment: signature.asc
Description: OpenPGP digital signature


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