diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-10 12:58:35 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-30 09:21:46 +0200 |
commit | 4a937f96f3a29c58b7edd349d2e4dfac371efdf2 (patch) | |
tree | 67471522814264ea197e724a1ca09a424bdbba6c /include/linux/kvm_host.h | |
parent | 4fa92fb25ae5a2d79d872ab54df511c831b1f363 (diff) | |
download | linux-stable-4a937f96f3a29c58b7edd349d2e4dfac371efdf2.tar.gz linux-stable-4a937f96f3a29c58b7edd349d2e4dfac371efdf2.tar.bz2 linux-stable-4a937f96f3a29c58b7edd349d2e4dfac371efdf2.zip |
KVM: protect kvm_usage_count with its own spinlock
The VM list need not be protected by a raw spinlock. Separate the
two so that kvm_lock can be made non-raw.
Cc: kvm@vger.kernel.org
Cc: gleb@redhat.com
Cc: jan.kiszka@siemens.com
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
0 files changed, 0 insertions, 0 deletions