commit | c445f8ef43bd9d2fb28213920d9b21f2465d22df | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Dec 21 16:26:01 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:31:11 2011 +0200 |
tree | b55e7dfb45ea596ce94301d156f64d8b3cfec65a | |
parent | 110312c84b5fbd4daf5de2417fa8ab5ec883858d [diff] |
KVM: MMU: Initialize base_role for tdp mmus Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index ea6063d..b77a5ba 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c
@@ -2885,6 +2885,7 @@ { 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;