commit | 0d9ce162cf46c99628cc5da9510b959c7976735b | [log] [tgz] |
---|---|---|
author | Junaid Shahid <junaids@google.com> | Thu Jan 03 17:14:28 2019 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Jun 05 14:14:50 2019 +0200 |
tree | cb7670bedf8c614aa20313b95456f942fd16b6d4 | |
parent | 1ae4de23eddef465104277e79fa669bec7b3d288 [diff] |
kvm: Convert kvm_lock to a mutex It doesn't seem as if there is any particular need for kvm_lock to be a spinlock, so convert the lock to a mutex so that sleepable functions (in particular cond_resched()) can be called while holding it. Signed-off-by: Junaid Shahid <junaids@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>