projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
110312c
)
KVM: MMU: Initialize base_role for tdp mmus
author
Avi Kivity
<avi@redhat.com>
Tue, 21 Dec 2010 14:26:01 +0000
(16:26 +0200)
committer
Avi Kivity
<avi@redhat.com>
Wed, 12 Jan 2011 09:31:11 +0000
(11:31 +0200)
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/mmu.c
b/arch/x86/kvm/mmu.c
index ea6063d9242ea09fd767ac540193e9ed324ce034..b77a5ba398be63fe3943738fcac635650a03cfbf 100644
(file)
--- a/
arch/x86/kvm/mmu.c
+++ b/
arch/x86/kvm/mmu.c
@@
-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;