nEPT: make guest's A/D bits depends on guest's paging mode
authorGleb Natapov <gleb@redhat.com>
Mon, 5 Aug 2013 08:07:10 +0000 (11:07 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Aug 2013 13:57:37 +0000 (15:57 +0200)
commitd8089baca4f6895ce9c7bdabd2fca48a23feee79
tree13affd92aa67ecdefff4b4a94e7241cc960e2913
parent0ad805a0c326e0a5f4d9b024b27ddde02361e92a
nEPT: make guest's A/D bits depends on guest's paging mode

This patch makes guest A/D bits definition to be dependable on paging
mode, so when EPT support will be added it will be able to define them
differently.

Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/paging_tmpl.h