Home
last modified time | relevance | path

Searched hist:"6066772455 f21ce1e90f003243c9864091621773" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/kvm/mmu/
H A Dpaging_tmpl.hdiff 6066772455f21ce1e90f003243c9864091621773 Tue Jun 22 19:57:10 CEST 2021 Sean Christopherson <seanjc@google.com> KVM: x86/mmu: Add accessors to query mmu_role bits

Add accessors via a builder macro for all mmu_role bits that track a CR0,
CR4, or EFER bit, abstracting whether the bits are in the base or the
extended role.

Future commits will switch to using mmu_role instead of vCPU state to
configure the MMU, i.e. there are about to be a large number of users.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-26-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>