Commit f66ded546b for qemu.org
commit f66ded546bf307d2448a0a5a48e46baf471f5f68
Author: Yodel Eldar <yodel.eldar@yodel.dev>
Date: Mon Sep 14 11:52:50 2026 -0500
tests/functional/x86_64/test_vhost_user_bridge: Eliminate stdbuf usage
Usage of stdbuf triggers a runtime error when vhost-user-bridge
is built with ASAN. Now that vhost-user-bridge writes debug
output to stderr, stdbuf is obviated; remove its invocation.
Message ID of relevant thread:
<20260906-nohmp-next-v1-2-2b21e63974f3@redhat.com>
Suggested-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Yodel Eldar <yodel.eldar@yodel.dev>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260914165250.88382-3-yodel.eldar@yodel.dev>
diff --git a/tests/functional/x86_64/test_vhost_user_bridge.py b/tests/functional/x86_64/test_vhost_user_bridge.py
index c36c625420..5e1db48884 100755
--- a/tests/functional/x86_64/test_vhost_user_bridge.py
+++ b/tests/functional/x86_64/test_vhost_user_bridge.py
@@ -76,12 +76,6 @@ def configure_vm(self, ud_socket_path, lport, rport, hostfwd_port, tftpdir):
def assemble_vubr_args(self, vubr_path, ud_socket_path, lport, rport):
vubr_args = []
- if (stdbuf_path := which("stdbuf")) is None:
- self.log.info("Could not find stdbuf: vhost-user-bridge "
- "log lines may appear out of order")
- else:
- vubr_args += [stdbuf_path, "-o0", "-e0"]
-
vubr_args += [vubr_path, "-u", f"{ud_socket_path}",
"-l", f"127.0.0.1:{lport}", "-r", f"127.0.0.1:{rport}"]