aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/kvm_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/kvm_int.h')
-rw-r--r--include/sysemu/kvm_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/kvm_int.h b/include/sysemu/kvm_int.h
index 687a2ee423..31df465fdc 100644
--- a/include/sysemu/kvm_int.h
+++ b/include/sysemu/kvm_int.h
@@ -27,6 +27,8 @@ typedef struct KVMSlot
typedef struct KVMMemoryListener {
MemoryListener listener;
+ /* Protects the slots and all inside them */
+ QemuMutex slots_lock;
KVMSlot *slots;
int as_id;
} KVMMemoryListener;