Skip to content

Commit

Permalink
include: Include missing 'qemu/clang-tsa.h' header
Browse files Browse the repository at this point in the history
The next commit will remove "qemu/clang-tsa.h" of "exec/exec-all.h",
however the following files indirectly include it:

  $ git grep -L qemu/clang-tsa.h $(git grep -wl TSA_NO_TSA)
  block/create.c
  include/block/block_int-common.h
  tests/unit/test-bdrv-drain.c
  tests/unit/test-block-iothread.c
  util/qemu-thread-posix.c

Explicitly include it so we can process with the removal in the
next commit.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
philmd committed Dec 20, 2024
1 parent 975cb16 commit edf3bce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions block/create.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include "qemu/osdep.h"
#include "block/block_int.h"
#include "qemu/clang-tsa.h"
#include "qemu/job.h"
#include "qemu/main-loop.h"
#include "qapi/qapi-commands-block-core.h"
Expand Down
1 change: 1 addition & 0 deletions include/block/block_int-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "block/block-common.h"
#include "block/block-global-state.h"
#include "block/snapshot.h"
#include "qemu/clang-tsa.h"
#include "qemu/iov.h"
#include "qemu/rcu.h"
#include "qemu/stats64.h"
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test-bdrv-drain.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "system/block-backend.h"
#include "qapi/error.h"
#include "qemu/main-loop.h"
#include "qemu/clang-tsa.h"
#include "iothread.h"

static QemuEvent done_event;
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test-block-iothread.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "system/block-backend.h"
#include "qapi/error.h"
#include "qapi/qmp/qdict.h"
#include "qemu/clang-tsa.h"
#include "qemu/main-loop.h"
#include "iothread.h"

Expand Down
1 change: 1 addition & 0 deletions util/qemu-thread-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "qemu-thread-common.h"
#include "qemu/tsan.h"
#include "qemu/bitmap.h"
#include "qemu/clang-tsa.h"

#ifdef CONFIG_PTHREAD_SET_NAME_NP
#include <pthread_np.h>
Expand Down

0 comments on commit edf3bce

Please sign in to comment.