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

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

 



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

--
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]