From: Rusty Russell Date: Mon, 23 Jul 2007 07:08:21 +0000 (+1000) Subject: KVM: Fix unlikely kvm_create vs decache_vcpus_on_cpu race X-Git-Tag: v2.6.23-rc2~286^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e58cfe41c7e5902c32bb7f62993d43fb4c48ccf;p=pandora-kernel.git KVM: Fix unlikely kvm_create vs decache_vcpus_on_cpu race We add the kvm to the vm_list before initializing the vcpu mutexes, which can be mutex_trylock()'ed by decache_vcpus_on_cpu(). Signed-off-by: Rusty Russell Signed-off-by: Avi Kivity --- Reading git-diff-tree failed