From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US3mp-00020s-VG for qemu-devel@nongnu.org; Tue, 16 Apr 2013 07:10:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US3mn-0007hV-01 for qemu-devel@nongnu.org; Tue, 16 Apr 2013 07:10:55 -0400 Received: from mail-bk0-x231.google.com ([2a00:1450:4008:c01::231]:38848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US3mm-0007hI-OU for qemu-devel@nongnu.org; Tue, 16 Apr 2013 07:10:52 -0400 Received: by mail-bk0-f49.google.com with SMTP id w12so188527bku.8 for ; Tue, 16 Apr 2013 04:10:52 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 16 Apr 2013 13:10:39 +0200 Message-Id: <1366110642-22095-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] another round of qemu-char fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kraxel@redhat.com I'm happy to say that I'm not touching IOWatchPoll (well, almost: only for consistency). Instead, these patches try to make the code consistent (thus avoiding CRITICAL messages from glib) and to fix detection of pty connections; Gerd reported that it went berserk with polling. I think it is the same failure reported by Michael Hines, but I couldn't reproduce it with "-serial pty", only with the monitor. Paolo Bonzini (3): qemu-char: use consistent idiom for removing sources qemu-char: simplify pty polling qemu-char: correct return value from chr_read functions qemu-char.c | 95 ++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 56 insertions(+), 39 deletions(-) -- 1.8.1.4