OSDN Git Service

docs: document what configure does with virtual environments
[qmiga/qemu.git] / qemu-io-cmds.c
index 3f75d2f..f5d7202 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);
     }