Commit 36f2678
KVM: x86/mmu: Use MMU's role to determine PTTYPE
Use the MMU's role instead of vCPU state or role_regs to determine the
PTTYPE, i.e. which helpers to wire up.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-47-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent fe660f7 commit 36f2678
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4637 | 4637 | | |
4638 | 4638 | | |
4639 | 4639 | | |
4640 | | - | |
| 4640 | + | |
4641 | 4641 | | |
4642 | | - | |
| 4642 | + | |
4643 | 4643 | | |
4644 | 4644 | | |
4645 | 4645 | | |
| |||
4689 | 4689 | | |
4690 | 4690 | | |
4691 | 4691 | | |
4692 | | - | |
| 4692 | + | |
4693 | 4693 | | |
4694 | | - | |
| 4694 | + | |
4695 | 4695 | | |
4696 | 4696 | | |
4697 | 4697 | | |
| |||
0 commit comments