[libvirt] [PATCH] libxl: fix libvirtd crash when reconnecting domains
Eric Blake
eblake at redhat.com
Wed Aug 21 17:28:45 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130821/50daee90/attachment-0001.sig>
More information about the libvir-list
mailing list