Skip to content

Commit

Permalink
assertions for block global state API
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 <eesposit@redhat.com>
Message-Id: <20220303151616.325444-5-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
esposem authored and kevmw committed Mar 4, 2022
1 parent 3b491a9 commit f791bf7
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 2 deletions.

0 comments on commit f791bf7

Please sign in to comment.