diff options
| author | David Matlack <[email protected]> | 2022-01-13 23:30:18 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-01-19 12:06:45 -0500 |
| commit | f082d86ea68559e4bd1ecaffa04981b72281e28f (patch) | |
| tree | 47d1a8868b92411e5a065c83054932bb4ab3bbd7 /tools/perf/scripts/python | |
| parent | 7c8a4742c4abe205ec9daf416c9d42fd6b406e8e (diff) | |
KVM: x86/mmu: Clear MMU-writable during changed_pte notifier
When handling the changed_pte notifier and the new PTE is read-only,
clear both the Host-writable and MMU-writable bits in the SPTE. This
preserves the invariant that MMU-writable is set if-and-only-if
Host-writable is set.
No functional change intended. Nothing currently relies on the
aforementioned invariant and technically the changed_pte notifier is
dead code.
Signed-off-by: David Matlack <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions