[PATCH] KVM: MMU: Zap shadow page table entries on writes to guest page tables
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:45 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:25 +0000 (23:55 -0800)
commit9b7a032567ee1128daeebebfc14d3acedfe28c8c
tree292b109ec407041f26371f3cb7de12d06a636592
parentda4a00f002239f72b0d7d0eeaa3b60100e2b1438
[PATCH] KVM: MMU: Zap shadow page table entries on writes to guest page tables

Iterate over all shadow pages which correspond to a the given guest page table
and remove the mappings.

A subsequent page fault will reestablish the new mapping.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/mmu.c