This fixes socket chardevs to always be in non-blocking mode, as they were before the QIOChannel conversion. The second patch was already posted before, but dropped when Peter discovered a problem on OS-X causing ahci-test to hang:
https://lists.gnu.org/archive/html/qemu-devel/2016-03/msg05807.html I traced this down to broken EAGAIN handling affecting OS-X, hence the first patch in this series. Daniel P. Berrange (2): char: fix broken EAGAIN retry on OS-X due to errno clobbering char: ensure all clients are in non-blocking mode qemu-char.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) -- 2.5.5