]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Use MMU's role to get EFER.NX during MMU configuration
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:22 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:44 +0000 (18:00 -0400)
commitf035da784d440a7d456bd99e3e436c5631b4edba
treeee5091f83514260a3a9daaf06ddb2110e0fc1c06
parentbd4ee7a9d3dc2b08f66fc2107ab38ddce15f0f65
KVM: x86/mmu: Use MMU's role to get EFER.NX during MMU configuration

Get the MMU's effective EFER.NX from its role instead of using the
one-off, dedicated flag.  This will allow dropping said flag in a
future commit.

No functional change intended.

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