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 lists1p.gnu.org (lists1p.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 9560FC79F89 for ; Mon, 7 Sep 2026 13:35:05 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x3ZUZ-0005Nk-Bp; Mon, 07 Sep 2026 09:34:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x3ZUY-0005NR-6C for qemu-arm@nongnu.org; Mon, 07 Sep 2026 09:34:34 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x3ZUV-0000U0-I9 for qemu-arm@nongnu.org; Mon, 07 Sep 2026 09:34:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788788070; 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: in-reply-to:in-reply-to:references:references; bh=IH7k3Sp/S69rjWqy9WRPlRNNm2UeecG8w7o55h3w0vg=; b=GM9atlk+pi+8rHrCKt21UjPyduVd2gzaCcxptFg56Imx0GrUB4yQHjlpLbF14aA6V6uDnW hZSVEsGscWPZn+J9ta98PjD0BzAaTI1gqywpO0zn+wVhmiwCEtEjwL7y92Hr1+8fFKKrjh igAI9APMBmmLzjyt1/qvHNc21DRLH/c= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-303-nbFrV7e6MgKifPN7g4zvSg-1; Mon, 07 Sep 2026 09:34:28 -0400 X-MC-Unique: nbFrV7e6MgKifPN7g4zvSg-1 X-Mimecast-MFC-AGG-ID: nbFrV7e6MgKifPN7g4zvSg_1788788067 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-49b8c651ac0so52384145e9.2 for ; Mon, 07 Sep 2026 06:34:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788788067; x=1789392867; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=IH7k3Sp/S69rjWqy9WRPlRNNm2UeecG8w7o55h3w0vg=; b=Bpnxkc4I2VyAI5ypywe2B4NwKh0Njjgfx7UWxw2bIci8aZHSmVwo0ydDH7JPWaA88P SpPOo7RJ2g2WEwDVnw5SofGY9libo/imsRRrlm4CbjxAjOGkv/JUUxMITl8/zLyxDixf w0w4IzM6dDm5gJZym5fxGqw0ntjjOTov80sS7Ngf07iRypqos1ct/o3Cx7mfeOBqMt3S 0kvip5S+pJWY32ozXvqlETssUARVTDTvzC+I2eZn+Kp9aBGARteJelzX8qv4hWMgrVq5 LDr6sr+JILBaaYq04acU4GVnlA6EVMN62uzN2DCQu6F59icTUdAs6mjcZcw2PmDMjmhY nNlg== X-Forwarded-Encrypted: i=1; AKwUvBw66VRrCYRRpvzkKB1vdCA4EsfR9DANByCI+W5MWFcfDkjHpf+lta5S0ZoKtqbG/m4YwolJD5jVaw==@nongnu.org X-Gm-Message-State: AFuF++ktoHg0xGGqx3jqiUkqGuBDe1UfYQbd6686VnDxaxDhls4lTBGe uHUShz2GE2Ky6vZE8WDz/4MSAZCrf3yYQuVVzZP+G97bdok8YBAwlkb3lTGFeWMlCJKIwN8UkJT yPig0J5X8luE9tdV0W/CskudC7cZ14UZGkoAvCGDh12uzm0Wz62M6mQ== X-Gm-Gg: AYBFou2qZuutgzZDSgiivKuLoWF+OavfNkjdnSUIMqPaHZirP73rmUkSVcNMViysY7G lNy+PNBFpXIA09iBj6BqFuAQOJkGIi9yGC8FKJMYN5J6XD0rUA7tTrQJ+AnYJjIen4A8+eqrtiQ k7A8h1JIa8urww9jeQgTNBEFtt3XbXxVx6O+XW2bAGRVSI1YmFTS7YFjPSCJeqs/1ovfXBa6NIO n7wbLbWLfxVRBbyQE1X/uPsPbUvhWsz73Rf0dPxr7kjFi+YgyY4X3+qpGqgr4UWXGvrB9xU9t0E FTSQaRjihjVrnI2ktVXcMr3qyL0iYH4dGb021ApKwej4ac+UZFpy1tkmYif+U36Frn6S2YYneQB opTq+7fmCM5anjQQ2nnfGRlQ= X-Received: by 2002:a05:600c:c4a7:b0:49c:df2b:15fc with SMTP id 5b1f17b1804b1-49cf823d0dcmr244675915e9.8.1788788067424; Mon, 07 Sep 2026 06:34:27 -0700 (PDT) X-Received: by 2002:a05:600c:c4a7:b0:49c:df2b:15fc with SMTP id 5b1f17b1804b1-49cf823d0dcmr244675215e9.8.1788788066949; Mon, 07 Sep 2026 06:34:26 -0700 (PDT) Received: from redhat.com (IGLD-80-230-79-236.inter.net.il. [80.230.79.236]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49cee7fec25sm457559185e9.13.2026.09.07.06.34.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2026 06:34:26 -0700 (PDT) Date: Mon, 7 Sep 2026 09:34:22 -0400 From: "Michael S. Tsirkin" To: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau Cc: qemu-devel@nongnu.org, Brian Cain , Pierrick Bouvier , Stefano Garzarella , Paolo Bonzini , Zhao Liu , Peter Maydell , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , qemu-arm@nongnu.org, Ani Sinha , Gerd Hoffman , Fabiano Rosas , Laurent Vivier , Jared Rossi , Zhuoying Cai , Christian Borntraeger , Jason Herne , Richard Henderson , Ilya Leoshkevich , David Hildenbrand , Halil Pasic , Eric Farman , Matthew Rosato , Cornelia Huck , qemu-s390x@nongnu.org Subject: Re: [PATCH 2/9] tests/test_vhost_user_bridge: skip when running ASAN Message-ID: <20260907093319-mutt-send-email-mst@kernel.org> References: <20260906-nohmp-next-v1-0-2b21e63974f3@redhat.com> <20260906-nohmp-next-v1-2-2b21e63974f3@redhat.com> <20260907075640-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Z8Bf78PUEjDActDTx3zmWOjAELM0_YC2neolK9B7GY0_1788788067 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org On Mon, Sep 07, 2026 at 05:22:43PM +0400, Marc-André Lureau wrote: > > maybe just avoid stdbuf completely. > > i don't remember why we use it, but it looks like merely to > > disable buffering for stdout? > > > > If so: > > > > setvbuf(stdout, NULL, _IONBF, 0); > > > > will do just that with no asan issues. > > > > That requires modifying vhost-user-bridge, not sure that's what we want. > > thanks why not? it's not like it's a facility useful outside of testing qemu. If we were we'd probably disable stdout printout completely. -- MST