KVM: MMU: do not update slot bitmap if spte is nonpresent
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:22:01 +0000 (03:22 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:24 +0000 (11:50 +0300)
commitffb61bb3bca33ff8e68d11d7cb6b27ac0f74a2c0
treeb0e220c032bb0d13a0b2ead3de1b2098cafb2702
parent052331bea38dfc176322ec85642eb98d6803a762
KVM: MMU: do not update slot bitmap if spte is nonpresent

Set slot bitmap only if the spte is present

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