From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aldbu-0004Fq-6G for qemu-devel@nongnu.org; Thu, 31 Mar 2016 10:30:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aldbp-0008Jz-5O for qemu-devel@nongnu.org; Thu, 31 Mar 2016 10:30:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aldbp-0008Ja-0S for qemu-devel@nongnu.org; Thu, 31 Mar 2016 10:30:05 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 35C3FCF62E for ; Thu, 31 Mar 2016 14:30:04 +0000 (UTC) From: "Daniel P. Berrange" Date: Thu, 31 Mar 2016 15:29:55 +0100 Message-Id: <1459434597-31255-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH 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 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