summaryrefslogtreecommitdiff
path: root/kvm_host.h
diff options
context:
space:
mode:
authorMax Bruning <max@joyent.com>2011-07-07 07:52:04 -0700
committerMax Bruning <max@joyent.com>2011-07-07 07:52:04 -0700
commitad53e677f49480dc231dda42776fe9da67ebc5b6 (patch)
treeb0fec730d85024481304405c5a0ce64d70eb55aa /kvm_host.h
parentfddecad62ba633ec99385fb3b06215a7378294f0 (diff)
downloadillumos-kvm-ad53e677f49480dc231dda42776fe9da67ebc5b6.tar.gz
HVM-472 panic in gfn_to_memslot_unaliased
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;