]> err.no Git - linux-2.6/commit
KVM: Hoist kvm_mmu_reload() out of the critical section
authorShaohua Li <shaohua.li@intel.com>
Mon, 23 Jul 2007 06:51:32 +0000 (14:51 +0800)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:19 +0000 (10:18 +0200)
commit9ae0448f53324b3c476f68bd134d97ac4ec27e0c
tree90b5c3c166bd9ce9c9b415c6a6246c2fdb53693c
parent310bc76c2b6829cd280def4927b7ccf8b8c795df
KVM: Hoist kvm_mmu_reload() out of the critical section

vmx_cpu_run doesn't handle error correctly and kvm_mmu_reload might
sleep with mutex changes, so I move it above.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c