On Mon, 2015-07-27 at 18:45 +0100, Wei Liu wrote: > Document how cpupool_info works. Distinguish success (ERROR_FAIL + > ENOENT) vs failure in libxl_list_cpupool and properly clean up the array > in failure path. > > Also switch to libxl__realloc and call libxl_cpupool_{init,dispose} > where appropriate. > > There is change of behaviour. Previously if memory allocation fails the > said function returns NULL. Now memory allocation failure is fatal. This > is in line with how we deal with memory allocation failure in other > places in libxl though. > > Signed-off-by: Wei Liu <wei.l...@citrix.com> > Reviewed-by: Dario Faggioli <dario.faggi...@citrix.com>
Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel