KVM: MMU: Initialize base_role for tdp mmus
Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Este commit está contenido en:
@@ -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;
|
||||
|
Referencia en una nueva incidencia
Block a user