aboutsummaryrefslogtreecommitdiff
path: root/util/async.c
AgeCommit message (Expand)AuthorFilesLines
2024-07-25util/async.c: Forbid negative min/max in aio_context_set_thread_pool_params()Peter Maydell1-1/+1
2024-01-19util/async: Only call icount_notify_exit() if icount is enabledPhilippe Mathieu-Daudé1-7/+9
2024-01-08system/cpus: rename qemu_mutex_lock_iothread() to bql_lock()Stefan Hajnoczi1-1/+1
2023-12-21aio: remove aio_context_acquire()/aio_context_release() APIStefan Hajnoczi1-10/+0
2023-12-21block: remove AioContext lockingStefan Hajnoczi1-4/+0
2023-12-21aio: make aio_context_acquire()/aio_context_release() a no-opStefan Hajnoczi1-2/+2
2023-05-30aio: remove aio_disable_external() APIStefan Hajnoczi1-2/+1
2023-05-02async: avoid use-after-free on re-entrancy guardAlexander Bulekov1-6/+8
2023-04-29Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into stagingRichard Henderson1-0/+14
2023-04-29async: Suppress GCC13 false positive in aio_bh_poll()Cédric Le Goater1-0/+14
2023-04-28async: Add an optional reentrancy guard to the BH APIAlexander Bulekov1-1/+17
2023-03-07async: clarify usage of barriers in the polling casePaolo Bonzini1-2/+8
2023-03-07async: update documentation of the memory barriersPaolo Bonzini1-14/+19
2023-01-20coroutine: Use Coroutine typedef name instead of structure tagMarkus Armbruster1-2/+2
2022-12-15async: Register/unregister aiocontext in graph lock listEmanuele Giuseppe Esposito1-0/+4
2022-06-06replay: notify vCPU when BH is scheduledPavel Dovgalyuk1-0/+8
2022-05-09util/event-loop-base: Introduce options to set the thread pool sizeNicolas Saenz Julienne1-0/+20
2022-03-04util/async: replace __thread with QEMU TLS macrosStefan Hajnoczi1-5/+7
2022-01-12aio-posix: split poll check from ready handlerStefan Hajnoczi1-2/+8
2021-07-21iothread: add aio-max-batch parameterStefano Garzarella1-0/+2
2021-07-05util/async: print leaked BH name when AioContext finalizesStefan Hajnoczi1-2/+14
2021-07-05util/async: add a human-readable name to BHs for debuggingStefan Hajnoczi1-2/+7
2021-06-18async: the main AioContext is only "current" if under the BQLPaolo Bonzini1-0/+20
2020-10-09util/async: Add aio_co_reschedule_self()Kevin Wolf1-0/+30
2020-09-23qemu/atomic.h: rename atomic_ to qatomic_Stefan Hajnoczi1-14/+14
2020-08-13async: always set ctx->notified in aio_notify()Stefan Hajnoczi1-11/+21
2020-08-13async: rename event_notifier_dummy_cb/poll()Stefan Hajnoczi1-4/+4
2020-05-18aio-posix: disable fdmon-io_uring when GSource is usedStefan Hajnoczi1-0/+1
2020-04-09async: use explicit memory barriersPaolo Bonzini1-4/+12
2020-02-22util/async: make bh_aio_poll() O(1)Stefan Hajnoczi1-99/+138
2020-01-30util/async: add aio interfaces for io_uringAarushi Mehta1-0/+36
2019-10-24util/async: avoid useless castFrediano Ziglio1-1/+0
2019-10-04win32: work around main-loop busy loop on socket/fd eventMarc-André Lureau1-1/+5
2019-08-22util/async: hold AioContext ref to prevent use-after-freeStefan Hajnoczi1-0/+8
2019-06-12Include qemu-common.h exactly where neededMarkus Armbruster1-1/+0
2018-09-25util/async: use qemu_aio_coroutine_enter in co_schedule_bh_cbSergio Lopez1-1/+1
2018-06-27linux-aio: properly bubble up errors from initializationNishanth Aravamudan1-3/+11
2018-05-18iothread: fix epollfd leak in the process of delIOThreadJie Wang1-0/+1
2017-11-21coroutine: abort if we try to schedule or enter a pending coroutineJeff Cody1-0/+13
2017-11-08util/async: use atomic_mb_set in qemu_bh_cancelSergio Lopez1-1/+1
2017-04-11async: Introduce aio_co_enterFam Zheng1-1/+6
2017-03-14cpus: define QEMUTimerListNotifyCB for QEMU system emulationPaolo Bonzini1-1/+1
2017-02-21async: remove unnecessary inc/dec pairsPaolo Bonzini1-6/+6
2017-02-21aio-posix: partially inline aio_dispatch into aio_pollPaolo Bonzini1-1/+1
2017-02-21block: explicitly acquire aiocontext in bottom halves that need itPaolo Bonzini1-2/+2
2017-02-21aio: push aio_context_acquire/release down to dispatchingPaolo Bonzini1-0/+2
2017-02-21aio: introduce aio_co_schedule and aio_co_wakePaolo Bonzini1-0/+65
2017-02-21block: move AioContext, QEMUTimer, main-loop to libqemuutilPaolo Bonzini1-0/+423