diff options
| author | Emanuele Giuseppe Esposito | 2022-03-03 16:15:53 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2022-03-04 18:18:25 +0100 |
| commit | 0439c5a4623d674efa0c72abd62ca6e98bb7cf87 (patch) | |
| tree | a4d98fda84cf1b027e8a14af413b1c055ac252c9 /include | |
| parent | include/sysemu/block-backend: split header into I/O and global state (GS) API (diff) | |
| download | qemu-0439c5a4623d674efa0c72abd62ca6e98bb7cf87.tar.gz qemu-0439c5a4623d674efa0c72abd62ca6e98bb7cf87.tar.xz qemu-0439c5a4623d674efa0c72abd62ca6e98bb7cf87.zip | |
block/block-backend.c: assertions for block-backend
All the global state (GS) API functions will check that
qemu_in_main_thread() returns true. If not, it means
that the safety of BQL cannot be guaranteed, and
they need to be moved to I/O.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20220303151616.325444-9-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
