Displaying 1 result from an estimated 1 matches for "memory_kb".
Did you mean:
memory_k
2012 Nov 23
1
[PATCH] libxl - fix a variable underflow in libxl_wait_for_free_memory
...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.org 2012-11-22 03:34:00.000000000
+0000
+++ xen-4.3-20121121/tools/libxl/libxl.c 2012-11-22 03:34:47.000000000 +0000
@@ -3763,7 +3763,7 @@ int libx...