diff options
author | David Matlack <dmatlack@google.com> | 2022-01-13 23:30:18 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-01-19 12:06:45 -0500 |
commit | f082d86ea68559e4bd1ecaffa04981b72281e28f (patch) | |
tree | 47d1a8868b92411e5a065c83054932bb4ab3bbd7 /tools/perf/scripts/python/export-to-sqlite.py | |
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 <dmatlack@google.com>
Message-Id: <20220113233020.3986005-3-dmatlack@google.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions