]> Git Repo - qemu.git/blobdiff - block/commit.c
assertions for block_int global state API
[qemu.git] / block / commit.c
index 2ce6637ca6f26cf113aaa6fbb84b9a9548fb250f..c76899f640c9e8eabc9757a0eb8721b3a8ac758a 100644 (file)
@@ -253,6 +253,8 @@ void commit_start(const char *job_id, BlockDriverState *bs,
     uint64_t base_perms, iter_shared_perms;
     int ret;
 
+    GLOBAL_STATE_CODE();
+
     assert(top != bs);
     if (bdrv_skip_filters(top) == bdrv_skip_filters(base)) {
         error_setg(errp, "Invalid files for merge: top and base are the same");
This page took 0.023326 seconds and 4 git commands to generate.