Message ID | 1413889440-32577-5-git-send-email-stefanha@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/blockdev.c b/blockdev.c index c46876c..a891f8e 100644 --- a/blockdev.c +++ b/blockdev.c @@ -1953,6 +1953,11 @@ out: static void block_job_cb(void *opaque, int ret) { + /* Note that this function may be executed from another AioContext besides + * the QEMU main loop. If you need to access anything that assumes the + * QEMU global mutex, use a BH or introduce a mutex. + */ + BlockDriverState *bs = opaque; const char *msg = NULL;