[libvirt] [Xen-devel] [PATCH] libxl: include a XLU_Config in _libxlDriverConfig

Jim Fehlig jfehlig at suse.com
Wed May 6 15:08:54 UTC 2015


Olaf Hering wrote:
> On Wed, May 06, Olaf Hering wrote:
>
>   
>> Since libvirtd runs forever there is very little code to undo most
>> things. But I will see if there is any unload function, did not actively
>> look for such thing.
>>     
>
> Looking through libxlStateDriver it seems that libxl and libxlu remains
> as is. Not sure if thats supposed that way or if perhaps libxl should be
> fully reinitialized during ->stateReload, and if logfiles should be
> closed in ->stateCleanup.
>   

Closing log files, freeing libxl_ctx, etc. is done (indirectly) in
stateCleanup.  The libxlDriverConfig object is unrefed, which should
result in calling libxlDriverConfigDispose().

Jim




More information about the libvir-list mailing list