Skip to content

Commit

Permalink
block/block-backend.c: assertions for block-backend
Browse files Browse the repository at this point in the history
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
  • Loading branch information
esposem authored and kevmw committed Mar 4, 2022
1 parent a2c4c3b commit 0439c5a
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
Loading

0 comments on commit 0439c5a

Please sign in to comment.