KVM: MMU: abstract the operation of rmap
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Sun, 15 May 2011 15:26:20 +0000 (23:26 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 08:45:06 +0000 (11:45 +0300)
commit53c07b18787d564a105e1aa678795d67eeb27447
tree2ad7226301479debf5d5b921bcc48d48b53f2778
parent1249b96e72533ffdb2fa25b5d7471918b065ccc8
KVM: MMU: abstract the operation of rmap

Abstract the operation of rmap to spte_list, then we can use it for the
reverse mapping of parent pte in the later patch

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c