aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorDavid Matlack <[email protected]>2022-01-13 23:30:18 +0000
committerPaolo Bonzini <[email protected]>2022-01-19 12:06:45 -0500
commitf082d86ea68559e4bd1ecaffa04981b72281e28f (patch)
tree47d1a8868b92411e5a065c83054932bb4ab3bbd7 /lib/mpi/mpi-sub-ui.c
parent7c8a4742c4abe205ec9daf416c9d42fd6b406e8e (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 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions