diff options
author | Max Bruning <max@joyent.com> | 2011-07-07 07:52:04 -0700 |
---|---|---|
committer | Max Bruning <max@joyent.com> | 2011-07-07 07:52:04 -0700 |
commit | ad53e677f49480dc231dda42776fe9da67ebc5b6 (patch) | |
tree | b0fec730d85024481304405c5a0ce64d70eb55aa /kvm_host.h | |
parent | fddecad62ba633ec99385fb3b06215a7378294f0 (diff) | |
download | illumos-kvm-ad53e677f49480dc231dda42776fe9da67ebc5b6.tar.gz |
HVM-472 panic in gfn_to_memslot_unaliased
Diffstat (limited to 'kvm_host.h')
-rw-r--r-- | kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |