]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-io-cmds.c
Merge tag 'pull-request-2023-12-20' of https://gitlab.com/thuth/qemu into staging
[mirror_qemu.git] / qemu-io-cmds.c
index 3f75d2f5a66313500d273016b30725e51f956ffe..f5d7202a131b0bada4cb411d1a82b761611a7278 100644 (file)
@@ -2037,6 +2037,9 @@ static int info_f(BlockBackend *blk, int argc, char **argv)
     char s1[64], s2[64];
     int ret;
 
+    GLOBAL_STATE_CODE();
+    GRAPH_RDLOCK_GUARD_MAINLOOP();
+
     if (bs->drv && bs->drv->format_name) {
         printf("format name: %s\n", bs->drv->format_name);
     }