diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-04-08 11:42:11 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-05-10 14:55:07 +0200 |
| commit | 4ae0a67231b424d86384621f370730edb8c94c0e (patch) | |
| tree | a67a06cc45295f6b9d408e3519d11cbc31266076 /scripts/dummy-tools/python3 | |
| parent | 55a71224bd90aa485c72cc55c446a26b485a8e36 (diff) | |
KVM: x86/mmu: propagate access mask from root pages down
Until now, all SPTEs have had all kinds of access allowed; however,
for GMET to be enabled all the pages have to have ACC_USER_MASK
disabled. By marking them as supervisor pages, the processor
allows execution from either user or supervisor mode (unlike
for normal paging, NPT ignores the U bit for reads and writes).
That will mean that the root page's role has ACC_USER_MASK
cleared and that has to be propagated down through the kvm_mmu_page
tree.
Do that, and pass the required access to the
kvm_mmu_spte_requested tracepoint since it's not ACC_ALL
anymore.
Tested-by: David Riley <d.riley@proxmox.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
