[libvirt] [PATCH] libxl: fix libvirtd crash when reconnecting domains
Jim Fehlig
jfehlig at suse.com
Wed Aug 21 17:44:58 UTC 2013
Eric Blake wrote:
> 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.
>
Thanks, pushed.
Regards,
Jim
More information about the libvir-list
mailing list