diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2012-02-20 17:53:33 +0000 |
---|---|---|
committer | Anthony PERARD <anthony.perard@citrix.com> | 2012-02-20 17:53:33 +0000 |
commit | abc94ef0f260ad9eb527addd6672014dbdee5e76 (patch) | |
tree | fadbecb135154feff3a0459790f2c6a2a7a74099 /tools/examples | |
parent | 636171218e1aba94fbf62a36b2dbcf06f8922db5 (diff) | |
download | xen-abc94ef0f260ad9eb527addd6672014dbdee5e76.tar.gz xen-abc94ef0f260ad9eb527addd6672014dbdee5e76.tar.bz2 xen-abc94ef0f260ad9eb527addd6672014dbdee5e76.zip |
libxl_qmp: Handle unexpected end-of-socket
When read() return 0, the current code just tries again. But this
leads to an infinite loop if QEMU died too soon.
Also, retry select if a signal was caught.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/examples')
0 files changed, 0 insertions, 0 deletions