libxl.c:return val of libxl_wait_for_memory_target
PATCH 1/1 libxl.c:return val of libxl_wait_for_memory_target
Fixed the return value of the function libxl_wait_for_memory_target. It was always returning 0 even inthe case of an error.
Signed-off-by Ayush Ruia <[email protected]>
--- tools/libxl/libxl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxl/libxl.c +1 -1
@@ -4700,7 +4700,7 @@ int libxl_wait_for_memory_target(libxl_ctx *ctx, uint32_t domid, int wait_secs) rc =ERROR_FAIL ; out: -return 0 ; +return rc; }int libxl_get_physinfo (libxl_ctx *ctx,libxl_physinfo *physinfo)
Signature · 1 line
1.9.1
Quoted 3 lines · Ayush Ruia
Fixed the return value of the function
libxl_wait_for_memory_target. It was always returning 0 even inthe case of an error.Signed-off-by Ayush Ruia <[email protected]>
Acked-by Wei Liu <[email protected]>
Ian Campbell
AppliedQuoted 6 lines · Wei Liu
Quoted 3 lines · Ayush Ruia
Fixed the return value of the function
libxl_wait_for_memory_target. It was always returning 0 even inthe case of an error.Signed-off-by Ayush Ruia <[email protected]>Acked-by Wei Liu <[email protected]>
Applied, thanks.
Ian.