mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 09:31:26 +00:00
KVM: MMU: Initialize base_role for tdp mmus
Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
110312c84b
commit
c445f8ef43
@ -2885,6 +2885,7 @@ static int init_kvm_tdp_mmu(struct kvm_vcpu *vcpu)
|
||||
{
|
||||
struct kvm_mmu *context = vcpu->arch.walk_mmu;
|
||||
|
||||
context->base_role.word = 0;
|
||||
context->new_cr3 = nonpaging_new_cr3;
|
||||
context->page_fault = tdp_page_fault;
|
||||
context->free = nonpaging_free;
|
||||
|
Loading…
Reference in New Issue
Block a user