diff options
author | Emanuele Giuseppe Esposito <eesposit@redhat.com> | 2022-03-03 10:15:57 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-03-04 18:18:25 +0100 |
commit | b4ad82aab10ea0cfe981e94414751e26a510c280 (patch) | |
tree | 811923470433dcb7cc6279677b4f0f3b19271b38 /block/io.c | |
parent | ebc2752b08ea238438a45666654cbecf78b021a3 (diff) | |
download | qemu-b4ad82aab10ea0cfe981e94414751e26a510c280.zip qemu-b4ad82aab10ea0cfe981e94414751e26a510c280.tar.gz qemu-b4ad82aab10ea0cfe981e94414751e26a510c280.tar.bz2 |
assertions for block_int global state API
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20220303151616.325444-13-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/io.c')
-rw-r--r-- | block/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -699,6 +699,7 @@ void bdrv_drain_all_begin(void) void bdrv_drain_all_end_quiesce(BlockDriverState *bs) { int drained_end_counter = 0; + GLOBAL_STATE_CODE(); g_assert(bs->quiesce_counter > 0); g_assert(!bs->refcnt); |