From: Avi Kivity Date: Tue, 4 May 2010 09:58:32 +0000 (+0300) Subject: KVM: MMU: Don't read pdptrs with mmu spinlock held in mmu_alloc_roots X-Git-Tag: v2.6.35-rc1~436^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8facbbff071ff2b19268d3732e31badc60471e21;p=pandora-kernel.git KVM: MMU: Don't read pdptrs with mmu spinlock held in mmu_alloc_roots On svm, kvm_read_pdptr() may require reading guest memory, which can sleep. Push the spinlock into mmu_alloc_roots(), and only take it after we've read the pdptr. Tested-by: Joerg Roedel Signed-off-by: Avi Kivity --- Reading git-diff-tree failed