diff options
author | Robert Foley | 2020-07-01 15:56:16 +0200 |
---|---|---|
committer | Alex Bennée | 2020-07-11 16:52:59 +0200 |
commit | 995f5c3c323a4703716c58fae78bee6276d49bef (patch) | |
tree | 2292dcd94fa91a835a77ac7a096f3beb257480d6 /tests/vm/basevm.py | |
parent | crypto/linux_keyring: fix 'secret_keyring' configure test (diff) | |
download | qemu-995f5c3c323a4703716c58fae78bee6276d49bef.tar.gz qemu-995f5c3c323a4703716c58fae78bee6276d49bef.tar.xz qemu-995f5c3c323a4703716c58fae78bee6276d49bef.zip |
util/coroutine: Cleanup start_switch_fiber_ for TSAN.
This is a cleanup patch to follow-up the patch which introduced TSAN.
This patch makes separate start_switch_fiber_ functions for TSAN and ASAN.
This does two things:
1. Unrelated ASAN and TSAN code is separate and each function only
has arguments that are actually needed.
2. The co->tsan_caller_fiber and co->tsan_co_fiber fields are only
access from within #ifdef CONFIG_TSAN.
Signed-off-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200626170001.27017-1-robert.foley@linaro.org>
Message-Id: <20200701135652.1366-5-alex.bennee@linaro.org>
Diffstat (limited to 'tests/vm/basevm.py')
0 files changed, 0 insertions, 0 deletions