From patchwork Wed Aug 4 15:48:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= X-Patchwork-Id: 1513576 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=a/p0Ncww; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 4GfznH0Fxqz9sRR for ; Thu, 5 Aug 2021 03:51:15 +1000 (AEST) Received: from localhost ([::1]:47440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBL2u-0007Si-Js for incoming@patchwork.ozlabs.org; Wed, 04 Aug 2021 13:51:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBJ8n-0000ph-Gh for qemu-devel@nongnu.org; Wed, 04 Aug 2021 11:49:20 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:52598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBJ8h-0005yU-U8 for qemu-devel@nongnu.org; Wed, 04 Aug 2021 11:49:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628092140; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xmhssaHGKTGvycWi9tCeSFuNy8WHpKhxlaDH2+JiN+w=; b=a/p0Ncww7dr90MndWUWtQ07Lhng7InmJ3gkmDR4rrs5JlFZO1YM/G+ApwQFXC/g6IjdvRg 90+EqvgTQETyNDFkV3ghqeSHDsbqDUPDSDqA2VKxYXYTgnzY/sTAsHif9ihYecn19nwi2T iNxz6sDuwVhL6QFBAm9Bnjl/sa3PnSQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-193-JoeuE0AYMMe7gZzp3Ffiyg-1; Wed, 04 Aug 2021 11:48:59 -0400 X-MC-Unique: JoeuE0AYMMe7gZzp3Ffiyg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B287B190A7A0 for ; Wed, 4 Aug 2021 15:48:58 +0000 (UTC) Received: from localhost (unknown [10.39.208.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3FEC010372DD; Wed, 4 Aug 2021 15:48:50 +0000 (UTC) From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Subject: [PATCH v2 00/11] chardev related fixes Date: Wed, 4 Aug 2021 19:48:37 +0400 Message-Id: <20210804154848.557328-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=marcandre.lureau@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=marcandre.lureau@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) DKIMWL_WL_HIGH=-0.699, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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: Paolo Bonzini , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Marc-André Lureau Hi, Those patches have been sent earlier. I compiled them here, as I intend to send a pull request for 6.1. We may want to drop the last 2/3 patches since we are in freeze though. Marc-André Lureau (11): util: fix abstract socket path copy chardev/socket: print a more correct command-line address chardev: remove needless class method chardev: add some comments about the class methods chardev: mark explicitly first argument as poisoned chardev: fix fd_chr_add_watch() when in != out chardev: fix qemu_chr_open_fd() being called with fd=-1 chardev: fix qemu_chr_open_fd() with fd_in==fd_out chardev: give some context on chardev-add error chardev: report a simpler error about duplicated id chardev: reuse qmp_chardev_new() include/chardev/char-fe.h | 8 ++- include/chardev/char.h | 34 ++++++++++- chardev/char-fd.c | 119 ++++++++++++++++++++++++++++++++++---- chardev/char-fe.c | 2 +- chardev/char-mux.c | 6 +- chardev/char-socket.c | 4 +- chardev/char.c | 33 ++++++----- hw/char/cadence_uart.c | 2 +- hw/char/cmsdk-apb-uart.c | 2 +- hw/char/ibex_uart.c | 2 +- hw/char/nrf51_uart.c | 2 +- hw/char/serial.c | 2 +- hw/char/virtio-console.c | 2 +- hw/usb/redirect.c | 2 +- hw/virtio/vhost-user.c | 2 +- monitor/monitor.c | 2 +- net/vhost-user.c | 4 +- util/qemu-sockets.c | 5 +- 18 files changed, 184 insertions(+), 49 deletions(-)