diff options
author | James Hogan <[email protected]> | 2016-12-06 14:57:10 +0000 |
---|---|---|
committer | James Hogan <[email protected]> | 2017-02-03 15:21:25 +0000 |
commit | b5f1dd1ba4042bda191cd2e72726c920e6c2867f (patch) | |
tree | def98c0295d188d63344faa616f02e5f78e28129 /tools/perf/util/trace-event-scripting.c | |
parent | a1ac9e17b7c934666a780772866135b9fea17f4c (diff) |
KVM: MIPS/MMU: Handle dirty logging on GPA faults
Update kvm_mips_map_page() to handle logging of dirty guest physical
pages. Upcoming patches will propagate the dirty bit to the GVA page
tables.
A fast path is added for handling protection bits that can be resolved
without calling into KVM, currently just dirtying of clean pages being
written to.
The slow path marks the GPA page table entry writable only on writes,
and at the same time marks the page dirty in the dirty page logging
bitmask.
Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions