Skip to content
Commit a7f1de9b authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86/mmu: pull CPU mode computation to kvm_init_mmu



Do not lead init_kvm_*mmu into the temptation of poking
into struct kvm_mmu_role_regs, by passing to it directly
the CPU mode.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 56b321f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment