KVM: Move gfn_to_page out of kmap/unmap pairs
authorShaohua Li <shaohua.li@intel.com>
Mon, 23 Jul 2007 06:51:39 +0000 (14:51 +0800)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:19 +0000 (10:18 +0200)
commitfe5518819463d57ed032bc12458ed681bc790609
tree15d13f175f2b77970eb7d84d442689426cafd283
parent9ae0448f53324b3c476f68bd134d97ac4ec27e0c
KVM: Move gfn_to_page out of kmap/unmap pairs

gfn_to_page might sleep with swap support. Move it out of the kmap calls.

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