]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: set ad_disabled in TDP MMU role
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Aug 2021 11:34:04 +0000 (07:34 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:55 +0000 (03:44 -0400)
commit0e88e77abf6782346d4fd178f05e245f3cc6ecb0
tree88ce776095882cd8d60f302cf4950d973d7eafd3
parent4dd4be228130caee0a0ff3245357d1f91d8533f7
KVM: MMU: set ad_disabled in TDP MMU role

Prepare for removing the ad_disabled argument of make_spte; instead it can
be found in the role of a struct kvm_mmu_page.  First of all, the TDP MMU
must set the role accurately.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c