]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Use MMU's role to detect EFER.NX in guest page walk
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:20 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:43 +0000 (18:00 -0400)
commit1b5fe319e2c153c0cfa6d71b22624905c5c8048c
tree3467d12ae417da7bcb9e31a4018a271b496c700d
parenta0290bb0df23c25d94f670a63ecca01d8bcf9e59
KVM: x86/mmu: Use MMU's role to detect EFER.NX in guest page walk

Use the NX bit from the MMU's role instead of the MMU itself so that the
redundant, dedicated "nx" flag can be dropped.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-36-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/paging_tmpl.h