Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215917
b: refs/heads/master
c: 6292757
h: refs/heads/master
i:
  215915: f50b3da
v: v3
  • Loading branch information
Xiao Guangrong authored and Avi Kivity committed Oct 24, 2010
1 parent 80e2a9b commit 9886c32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7129eecac10681f69cb00c0323ee915feceb57eb
refs/heads/master: 6292757fb0e758748fdb441861f8c50d397de9f0
4 changes: 2 additions & 2 deletions trunk/arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2393,8 +2393,8 @@ static int mmu_alloc_direct_roots(struct kvm_vcpu *vcpu)
++sp->root_count;
spin_unlock(&vcpu->kvm->mmu_lock);
vcpu->arch.mmu.pae_root[i] = root | PT_PRESENT_MASK;
vcpu->arch.mmu.root_hpa = __pa(vcpu->arch.mmu.pae_root);
}
vcpu->arch.mmu.root_hpa = __pa(vcpu->arch.mmu.pae_root);
} else
BUG();

Expand Down Expand Up @@ -2466,8 +2466,8 @@ static int mmu_alloc_shadow_roots(struct kvm_vcpu *vcpu)
spin_unlock(&vcpu->kvm->mmu_lock);

vcpu->arch.mmu.pae_root[i] = root | pm_mask;
vcpu->arch.mmu.root_hpa = __pa(vcpu->arch.mmu.pae_root);
}
vcpu->arch.mmu.root_hpa = __pa(vcpu->arch.mmu.pae_root);

/*
* If we shadow a 32 bit page table with a long mode page
Expand Down

0 comments on commit 9886c32

Please sign in to comment.