Re: [Xen-devel] [PATCH v1] libxl: fix return code in qmp_synchronous_send

2018-05-18 Thread Wei Liu
On Thu, May 17, 2018 at 04:29:57PM +0200, Olaf Hering wrote: > Use error code from libxl namespace, a plain -1 is not valid in this context. > > Signed-off-by: Olaf Hering While this function doesn't have libxl prefix, its return value does get returned directly by various libxl

[Xen-devel] [PATCH v1] libxl: fix return code in qmp_synchronous_send

2018-05-17 Thread Olaf Hering
Use error code from libxl namespace, a plain -1 is not valid in this context. Signed-off-by: Olaf Hering --- tools/libxl/libxl_qmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c index be1fda18ba..0fe42813bf