diff options
author | Sean Christopherson <seanjc@google.com> | 2021-06-22 10:57:21 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-24 18:00:44 -0400 |
commit | 84a16226046d1c9339a9be3f2b76ea2dc5677f02 (patch) | |
tree | d3c4089309d3ea90ed37d222d13cad421ff5d24b /mm | |
parent | cd628f0f1e1ce0709c2c6bc852b1a3abf9638b26 (diff) |
KVM: x86/mmu: Use MMU's role/role_regs to compute context's metadata
Use the MMU's role and role_regs to calculate the MMU's guest root level
and NX bit. For some flows, the vCPU state may not be correct (or
relevant), e.g. EPT doesn't interact with EFER.NX and nested NPT will
configure the guest_mmu with possibly-stale vCPU state.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-37-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions