KVM: MMU: fix walking shadow page table
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:21:17 +0000 (03:21 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:23 +0000 (11:50 +0300)
commit052331bea38dfc176322ec85642eb98d6803a762
treeade0a6bf8c594b7bd516f76aa996711889b66384
parentd910f5c1064d7ff09c31b0191564f9f99e210f91
KVM: MMU: fix walking shadow page table

Properly check the last mapping, and do not walk to the next level if last spte
is met

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c