commit | 7597f129d8b6799da7a264e6d6f7401668d3a36d | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Fri Feb 19 16:23:00 2010 +0100 |
committer | Avi Kivity <avi@redhat.com> | Sun Apr 25 12:34:07 2010 +0300 |
tree | a24e84b9e7b86fb1e74b2e63a61386a09d1a1c42 | |
parent | ad91f8ffbb18413e79f9f976a55b4e11d02e6a6d [diff] |
KVM: SVM: Don't use kmap_atomic in nested_svm_map Use of kmap_atomic disables preemption but if we run in shadow-shadow mode the vmrun emulation executes kvm_set_cr3 which might sleep or fault. So use kmap instead for nested_svm_map. Cc: stable@kernel.org Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>