aboutsummaryrefslogtreecommitdiff
path: root/block/graph-lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/graph-lock.c')
-rw-r--r--block/graph-lock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/block/graph-lock.c b/block/graph-lock.c
index c4d9d2c..454c31e 100644
--- a/block/graph-lock.c
+++ b/block/graph-lock.c
@@ -24,6 +24,9 @@
#include "block/block.h"
#include "block/block_int.h"
+/* Dummy lock object to use for Thread Safety Analysis (TSA) */
+BdrvGraphLock graph_lock;
+
/* Protects the list of aiocontext and orphaned_reader_count */
static QemuMutex aio_context_list_lock;