diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-11-13 11:52:45 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-11-25 17:24:23 +0100 |
commit | 0e3d0648bd903ff6cda7499f9349a2ce612bccb4 (patch) | |
tree | 5595b7e53263b89c72d708cf8efdb9bbd05cb405 /virt | |
parent | aba2f06c070f604e388cf77b1dcc7f4cf4577eb0 (diff) | |
download | linux-0e3d0648bd903ff6cda7499f9349a2ce612bccb4.tar.bz2 |
KVM: x86: MMU: always set accessed bit in shadow PTEs
Commit 7a1638ce4220 ("nEPT: Redefine EPT-specific link_shadow_page()",
2013-08-05) says:
Since nEPT doesn't support A/D bit, we should not set those bit
when building the shadow page table.
but this is not necessary. Even though nEPT doesn't support A/D
bits, and hence the vmcs12 EPT pointer will never enable them,
we always use them for shadow page tables if available (see
construct_eptp in vmx.c). So we can set the A/D bits freely
in the shadow page table.
This patch hence basically reverts commit 7a1638ce4220.
Cc: Yang Zhang <yang.z.zhang@Intel.com>
Cc: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions