- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are A and D bits in the corresponding PTE and A bit in the PDE updated when page fault VM exit occurs? Or VM should do this manually when emulating opcode?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The A and D bits in a PTE are not updated for an instruction that causes a page fault (regardless of whether the page fault causes a VM exit).
The A bit in a PDE may or may not be updated for an instruction that causes a page fault. It is implementation-specific. (Of course, the A bit in PDE may have been set earlier by an access using a different PTE that did not cause a fault.)
Thus, if a VMM handles a page fault by emulating the faulting instruction, it may need to update these bits manually.
David Ott
The A bit in a PDE may or may not be updated for an instruction that causes a page fault. It is implementation-specific. (Of course, the A bit in PDE may have been set earlier by an access using a different PTE that did not cause a fault.)
Thus, if a VMM handles a page fault by emulating the faulting instruction, it may need to update these bits manually.
David Ott
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The A and D bits in a PTE are not updated for an instruction that causes a page fault (regardless of whether the page fault causes a VM exit).
The A bit in a PDE may or may not be updated for an instruction that causes a page fault. It is implementation-specific. (Of course, the A bit in PDE may have been set earlier by an access using a different PTE that did not cause a fault.)
Thus, if a VMM handles a page fault by emulating the faulting instruction, it may need to update these bits manually.
David Ott
The A bit in a PDE may or may not be updated for an instruction that causes a page fault. It is implementation-specific. (Of course, the A bit in PDE may have been set earlier by an access using a different PTE that did not cause a fault.)
Thus, if a VMM handles a page fault by emulating the faulting instruction, it may need to update these bits manually.
David Ott
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page