]> Git Repo - qemu.git/blobdiff - block/backup.c
assertions for block_int global state API
[qemu.git] / block / backup.c
index 21d5983779e7a905131a1fe3a4effd64a0e8f215..5cfd0b999ce3c6c62254e7c15f487e5a952f56bb 100644 (file)
@@ -372,6 +372,7 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
 
     assert(bs);
     assert(target);
+    GLOBAL_STATE_CODE();
 
     /* QMP interface protects us from these cases */
     assert(sync_mode != MIRROR_SYNC_MODE_INCREMENTAL);
This page took 0.02332 seconds and 4 git commands to generate.