]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-img.c
target/hppa: Add privilege to MMU index conversion helpers
[mirror_qemu.git] / qemu-img.c
index 9aeac69fa66e52b5e56340d726d6ffe55a58b8b3..27f48051b0cdc5f3a2e4d30f8728e5c49cdc401f 100644 (file)
@@ -2945,7 +2945,10 @@ static BlockGraphInfoList *collect_image_info_list(bool image_opts,
          * duplicate the backing chain information that we obtain by walking
          * the chain manually here.
          */
+        bdrv_graph_rdlock_main_loop();
         bdrv_query_block_graph_info(bs, &info, &err);
+        bdrv_graph_rdunlock_main_loop();
+
         if (err) {
             error_report_err(err);
             blk_unref(blk);