summaryrefslogtreecommitdiff
path: root/kvm_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'kvm_host.h')
-rw-r--r--kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm_host.h b/kvm_host.h
index d414850..62d809d 100644
--- a/kvm_host.h
+++ b/kvm_host.h
@@ -188,6 +188,7 @@ typedef struct kvm {
kmutex_t slots_lock;
struct as *mm; /* userspace tied to this vm */
struct kvm_memslots *memslots;
+ kmutex_t memslots_lock; /* linux uses rcu for this */
/* the following was a read-copy update mechanism */
/* we'll use a reader-writer lock, for now */
krwlock_t kvm_rwlock;