summary refs log tree commit diff stats
path: root/hw/i386/kvm/xen_overlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/kvm/xen_overlay.c')
-rw-r--r--hw/i386/kvm/xen_overlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/kvm/xen_overlay.c b/hw/i386/kvm/xen_overlay.c
index 526f7a6077..c68e78ac5c 100644
--- a/hw/i386/kvm/xen_overlay.c
+++ b/hw/i386/kvm/xen_overlay.c
@@ -194,7 +194,7 @@ int xen_overlay_map_shinfo_page(uint64_t gpa)
         return -ENOENT;
     }
 
-    assert(qemu_mutex_iothread_locked());
+    assert(bql_locked());
 
     if (s->shinfo_gpa) {
         /* If removing shinfo page, turn the kernel magic off first */