Skip to content

vhost-user-bridge: Fix stdbuf and ASAN interaction

Yodel Eldar qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2contrib/vhost-user-bridge: Use stderr for debug outputcontrib/vhost-user-bridge/vhost-user-bridge.c+1 -10 replies
2/2tests/functional/x86_64/test_vhost_user_bridge: Eliminate stdbuf usagetests/functional/x86_64/test_vhost_user_bridge.py+0 -60 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarc-André Lureau
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] vhost-user-bridge: Fix stdbuf and ASAN interaction

From: Yodel Eldar <[email protected]>

Hi,

As reported by Marc-André in (1), the functional test of vhost-user-bridge (vubr) encounters a runtime error when vubr is built with ASAN, because the "ASan runtime does not come first in initial library list."

Upon Michael's suggestion, this series converts the DPRINT debug output macro in vubr to use stderr instead of stdout for output. With that change, the functional test no longer needs to invoke stdbuf, so it is removed.

Thanks,
Yodel

(1) https://lore.kernel.org/qemu-devel/[email protected]/

Yodel Eldar (2):
contrib/vhost-user-bridge: Use stderr for debug output tests/functional/x86_64/test_vhost_user_bridge: Eliminate stdbuf usage

 contrib/vhost-user-bridge/vhost-user-bridge.c     | 2 +-
 tests/functional/x86_64/test_vhost_user_bridge.py | 6 ------
 2 files changed, 1 insertion(+), 7 deletions(-)
Signature · 1 line
2.55.0