From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aleXT-0005C0-KI for qemu-devel@nongnu.org; Thu, 31 Mar 2016 11:29:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aleXO-0007DC-IV for qemu-devel@nongnu.org; Thu, 31 Mar 2016 11:29:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aleXO-0007D5-DB for qemu-devel@nongnu.org; Thu, 31 Mar 2016 11:29:34 -0400 From: "Daniel P. Berrange" Date: Thu, 31 Mar 2016 16:29:26 +0100 Message-Id: <1459438168-8146-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] Fixing non-blocking operation of chardevs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Peter Maydell 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. Changed in v2: - Also fix qemu_chr_fe_write_log method 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 | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) -- 2.5.5