summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-06-22 20:57:08 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-25 01:00:40 +0300
commit8626c120baefe68d22a22d6af9a7eed0b50bee90 (patch)
treebaee9510863acbd751fb1e16833c1f402831dccc /arch/x86/include
parentcd6767c334b628cf566db56c778e67f7e6ae2845 (diff)
downloadlinux-8626c120baefe68d22a22d6af9a7eed0b50bee90.tar.xz
KVM: x86/mmu: Use MMU's role_regs, not vCPU state, to compute mmu_role
Use the provided role_regs to calculate the mmu_role instead of pulling bits from current vCPU state. For some flows, e.g. nested TDP, the vCPU state may not be correct (or relevant). Cc: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210622175739.3610207-24-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions