nEPT: Redefine EPT-specific link_shadow_page()
authorYang Zhang <yang.z.zhang@Intel.com>
Mon, 5 Aug 2013 08:07:13 +0000 (11:07 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Aug 2013 13:57:39 +0000 (15:57 +0200)
commit7a1638ce4220d52e53d4114e34e4529161a3449c
treedc22f449b34f91acb0c35920a13ab53c8ccc82b7
parent37406aaaeebc36632efc3f493363da9644e57ef1
nEPT: Redefine EPT-specific link_shadow_page()

Since nEPT doesn't support A/D bit, so we should not set those bit
when build shadow page table.

Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h