diff options
author | Bandan Das <bsd@redhat.com> | 2017-05-05 15:25:14 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-05-09 11:54:22 +0200 |
commit | c5f983f6e8455bbff8b6b39f3ad470317fcd808e (patch) | |
tree | 129db6f8f2d391f4f0cc1fcb25c2d77565abacb2 /virt | |
parent | bab4165e2f031905bd0a2bb8b6ad65c5c8cfa870 (diff) | |
download | linux-c5f983f6e8455bbff8b6b39f3ad470317fcd808e.tar.bz2 |
nVMX: Implement emulated Page Modification Logging
With EPT A/D enabled, processor access to L2 guest
paging structures will result in a write violation.
When this happens, write the GUEST_PHYSICAL_ADDRESS
to the pml buffer provided by L1 if the access is
write and the dirty bit is being set.
This patch also adds necessary checks during VMEntry if L1
has enabled PML. If the PML index overflows, we change the
exit reason and run L1 to simulate a PML full event.
Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions