Displaying 1 result from an estimated 1 matches for "d3b1d53".
Did you mean:
d3b1d1b
2012 Jan 19
3
[PATCH] libxl_qmp: Handle unexpected end-of-socket
...MU died too soon.
Also, retry select if a signal was caught.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
tools/libxl/libxl_qmp.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c
index 1777e44..d3b1d53 100644
--- a/tools/libxl/libxl_qmp.c
+++ b/tools/libxl/libxl_qmp.c
@@ -385,18 +385,22 @@ static int qmp_next(libxl__gc *gc, libxl__qmp_handler *qmp)
FD_ZERO(&rfds);
FD_SET(qmp->qmp_fd, &rfds);
+do_select_again:
ret = select(qmp->qmp_fd + 1, &rfds, NULL...