Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115295
b: refs/heads/master
c: 2245a28
h: refs/heads/master
i:
  115293: 8dddb5c
  115291: 7be9d4c
  115287: 57488bd
  115279: c6f8048
  115263: 34a9d92
v: v3
  • Loading branch information
Avi Kivity committed Oct 15, 2008
1 parent 149cc43 commit f8f4a1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc2d429979451d69d0985c5dbdf908cace2831cc
refs/heads/master: 2245a28fe2e6fdb1bdabc4dcde1ea3a5c37e2a9e
2 changes: 2 additions & 0 deletions trunk/arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2097,6 +2097,7 @@ void kvm_mmu_slot_remove_write_access(struct kvm *kvm, int slot)
{
struct kvm_mmu_page *sp;

spin_lock(&kvm->mmu_lock);
list_for_each_entry(sp, &kvm->arch.active_mmu_pages, link) {
int i;
u64 *pt;
Expand All @@ -2110,6 +2111,7 @@ void kvm_mmu_slot_remove_write_access(struct kvm *kvm, int slot)
if (pt[i] & PT_WRITABLE_MASK)
pt[i] &= ~PT_WRITABLE_MASK;
}
spin_unlock(&kvm->mmu_lock);
}

void kvm_mmu_zap_all(struct kvm *kvm)
Expand Down

0 comments on commit f8f4a1f

Please sign in to comment.