From patchwork Sun Sep 12 12:50:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Volker_R=C3=BCmelin?= X-Patchwork-Id: 12486859 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CB9DC433F5 for ; Sun, 12 Sep 2021 12:56:06 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 20E106103D for ; Sun, 12 Sep 2021 12:56:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 20E106103D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=t-online.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:36392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPP1h-0001s2-3r for qemu-devel@archiver.kernel.org; Sun, 12 Sep 2021 08:56:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPOwb-0002Bu-9k for qemu-devel@nongnu.org; Sun, 12 Sep 2021 08:50:49 -0400 Received: from mailout09.t-online.de ([194.25.134.84]:44236) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPOwZ-0007SL-7O for qemu-devel@nongnu.org; Sun, 12 Sep 2021 08:50:49 -0400 Received: from fwd84.dcpf.telekom.de (fwd84.aul.t-online.de [10.223.144.110]) by mailout09.t-online.de (Postfix) with SMTP id 550D01C476; Sun, 12 Sep 2021 14:50:43 +0200 (CEST) Received: from [192.168.211.200] ([79.208.16.31]) by fwd84.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1mPOwR-1PY9Qn0; Sun, 12 Sep 2021 14:50:40 +0200 To: Gerd Hoffmann From: =?utf-8?q?Volker_R=C3=BCmelin?= Subject: [PATCH 0/3] ui/console: chardev backend improvements Message-ID: <23041f12-b405-7dbc-b098-e9c48802e29c@t-online.de> Date: Sun, 12 Sep 2021 14:50:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Language: en-US X-TOI-EXPURGATEID: 150726::1631451040-00014E39-91C6AF10/0/0 CLEAN NORMAL X-TOI-MSGID: 088f3719-d275-4cf1-bd2a-284bc2d6ae1e Received-SPF: none client-ip=194.25.134.84; envelope-from=vr_qemu@t-online.de; helo=mailout09.t-online.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" A few things I learnt while writing a fix for a chardev bug in the GTK backend. Volker Rümelin (3):   ui/console: replace QEMUFIFO with Fifo8   ui/console: replace kbd_timer with chr_accept_input callback   ui/console: remove chardev frontend connected test  ui/console.c | 109 ++++++++++++++-------------------------------------  1 file changed, 29 insertions(+), 80 deletions(-)