From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C0E86EB64DD for ; Wed, 5 Jul 2023 13:32:55 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qH2c3-0006Jf-Ri; Wed, 05 Jul 2023 09:32:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qH2bw-0006HC-FS for qemu-devel@nongnu.org; Wed, 05 Jul 2023 09:32:01 -0400 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qH2bt-0001yC-Vu for qemu-devel@nongnu.org; Wed, 05 Jul 2023 09:32:00 -0400 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-51d95aed33aso6622900a12.3 for ; Wed, 05 Jul 2023 06:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688563916; x=1691155916; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8csFKMjZVuRSRwCfVd0lvLcd2iu1cnTH6S6ysLgFoCk=; b=ZXp2zRjMqjof1A1zhHwk12O8UlT/rgkwakAG5D17jnA3VGSTNHp77qajrPAWOGSG67 BBHlTwv1PBu2s7/g0k+SD3Phu4uyKuFkn8JobnQOMGvem2tV1KMLGfblFoD93vnl6TkK z4+JdiFXENKoxdXcFl/WterrOKiA0SECPqlFAyJ33SuiugbE/QE6M55ENQx5zxcVMpBc ZhTyxtxCtlHEj1HxdfXV1EI6Va3nj1AmIQcEc+sqHrkjwdO0zllbpqtvS9zZppXlho0+ fxFx5+j44EQvuBhDsHCngtw0CRFmi8mQpQ+PknpMb4dkLUyq/sZP2MlKIe4AGHDjgKbT IhPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688563916; x=1691155916; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8csFKMjZVuRSRwCfVd0lvLcd2iu1cnTH6S6ysLgFoCk=; b=fJCF+VhOLPziushYfb9kPIWfxPvI0/BHOMh74/EiBBlh08d1r33PHlmphavgDyuG6C qV7X3x3xSg7WJxsROk4h5CsxMuKT/y70UuaRDFdLEZBWnEyCnJHq0zVJlZBZs3Ydewto JwrFPKgU1jqCUapTaklzInf78UpCS2TVJxbkCPET/Rk8uU8Z9UW+0SHHdm2Ufm2b6ACy F+wd3OWLZN4KZLCM18+WiNPx373uuu1RgdXRrLFIbp+ChpkhzhyyKi0gdYfgwDClYav2 vJDNXFmaKLwhCWh48fKgtD6bmjsCFop/lMjTED0GrljefaYPGtUKnCNpna9H2/VaJFTU vgEA== X-Gm-Message-State: ABy/qLbwXUS5pDftMOR0xxZp6Sk0qU4q/J1Q1HjnXyPInnII2RAZDpV0 CsiJaDvM0tNSq7pOXy1O/jIB7OGuYOjGyF685pA= X-Google-Smtp-Source: APBJJlGDOh7LgVrmb2lvIuj7R0kmOi9bQcgjYdZ7LNPiwn7BmSDgYl762UqVj1hHz9c14Yoij6G91g== X-Received: by 2002:aa7:d68f:0:b0:516:af22:bcc6 with SMTP id d15-20020aa7d68f000000b00516af22bcc6mr9477842edr.21.1688563916383; Wed, 05 Jul 2023 06:31:56 -0700 (PDT) Received: from m1x-phil.lan ([176.176.142.96]) by smtp.gmail.com with ESMTPSA id l11-20020a056402028b00b0051e0272ad00sm5794845edv.75.2023.07.05.06.31.48 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 05 Jul 2023 06:31:56 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Joel Stanley , Markus Armbruster , Alistair Francis , Laurent Vivier , "Edgar E. Iglesias" , Peter Maydell , "Dr. David Alan Gilbert" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini , Amit Shah , qemu-riscv@nongnu.org, "Michael S. Tsirkin" , Jason Wang , qemu-arm@nongnu.org, =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 0/4] chardev/char-fe: Document FEWatchFunc and use G_SOURCE_CONTINUE/REMOVE Date: Wed, 5 Jul 2023 15:31:35 +0200 Message-Id: <20230705133139.54419-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=philmd@linaro.org; helo=mail-ed1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Improve qio and chardev frontend documentation, have FEWatchFunc handlers return G_SOURCE_CONTINUE/REMOVE. Philippe Mathieu-Daudé (4): io/channel: Explicit QIOChannel doc is based on GLib's IOChannel chardev/char-fe: Clarify qemu_chr_fe_add_watch 'condition' arg is a mask chardev/char-fe: Document FEWatchFunc typedef hw/char: Have FEWatchFunc handlers return G_SOURCE_CONTINUE/REMOVE include/chardev/char-fe.h | 18 ++++++++++++++++-- include/io/channel.h | 2 +- hw/char/cadence_uart.c | 8 ++++---- hw/char/cmsdk-apb-uart.c | 6 +++--- hw/char/ibex_uart.c | 8 ++++---- hw/char/nrf51_uart.c | 4 ++-- hw/char/serial.c | 2 +- hw/char/virtio-console.c | 2 +- hw/usb/redirect.c | 2 +- monitor/monitor.c | 2 +- net/vhost-user.c | 2 +- 11 files changed, 35 insertions(+), 21 deletions(-) -- 2.38.1