KVM: MMU: check rmap for every spte
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Sat, 28 Aug 2010 11:20:47 +0000 (19:20 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:46 +0000 (10:51 +0200)
commit0beb8d660425aab339ff68e6f4d4528739e8fc4f
tree9b30fbca63277dd1c5b74e35c7cb1bcb293ce7e6
parent9ad17b10011702cb56c5e32e41ecd5fe281c3574
KVM: MMU: check rmap for every spte

The read-only spte also has reverse mapping, so fix the code to check them,
also modify the function name to fit its doing

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