diff options
author | Avi Kivity <avi@redhat.com> | 2010-05-04 05:58:32 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-19 04:36:35 -0400 |
commit | 8facbbff071ff2b19268d3732e31badc60471e21 (patch) | |
tree | 1779b2bb158c8e1bf99560fb3fd16647e3e371f7 /usr/initramfs_data.gz.S | |
parent | cafd66595d92591e4bd25c3904e004fc6f897e2d (diff) |
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 <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'usr/initramfs_data.gz.S')
0 files changed, 0 insertions, 0 deletions