ree 5836d843b325dcea7ba9243f4c9ccb4664ecd255 parent b0fcd903e6f3f47189baddf3fe085bdf78c9644c author Rusty Russell 1185174501 +1000 committer Avi Kivity 1185362974 +0300 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 xj¨7˜$x