search for: freemem_slack

Displaying 1 result from an estimated 1 matches for "freemem_slack".

2012 Nov 23
1
[PATCH] libxl - fix a variable underflow in libxl_wait_for_free_memory
...mory libxl: error: libxl_dom.c:430:libxl__build_pv: xc_dom_boot_mem_init failed: Device or resource busy libxl: error: libxl_create.c:901:domcreate_rebuild_done: cannot (re-)build domain: -3 The variable-underflow happens when freemem_slack is larger then info.free_pages*4, because the solution of this operation is converted implicit to a unsigned int to match the type of memory_kb. The problem is fixed by a proper casting. Signed-off-by: Ronny Hegewald <Ronny.Hegewald@online.de> --- xen-4.3-20121121/tools/libxl/libxl.c.or...