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

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

 



On Wed, May 06, 2015 at 10:58:11AM +0200, 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.
> 

FWIW libxl ctx is destroy in libxlDriverConfigDispose. You can probably
just call xlu_cfg_destroy there.

Anyway, I'm not a libvirt expert. I just don't like leaking memory. :-)

Wei.

> Olaf

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