diff options
| author | Emanuele Giuseppe Esposito | 2022-03-03 16:16:09 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2022-03-04 18:18:25 +0100 |
| commit | 1581a70ddd0cd71a8520027d7136ed1e2f6bd19b (patch) | |
| tree | 1959df08dca1a7e424448e52d4debdc7c5a97b74 /include | |
| parent | block/copy-before-write.h: global state API + assertions (diff) | |
| download | qemu-1581a70ddd0cd71a8520027d7136ed1e2f6bd19b.tar.gz qemu-1581a70ddd0cd71a8520027d7136ed1e2f6bd19b.tar.xz qemu-1581a70ddd0cd71a8520027d7136ed1e2f6bd19b.zip | |
block/coroutines: I/O and "I/O or GS" API
block coroutines functions run in different aiocontext, and are
not protected by the BQL. Therefore are I/O.
On the other side, generated_co_wrapper functions use BDRV_POLL_WHILE,
meaning the caller can either be the main loop or a specific iothread.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20220303151616.325444-25-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
