]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] KVM: MMU: Write protect guest pages when a shadow is created for them
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:43 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:25 +0000 (23:55 -0800)
commit94a80ca02ef2fe6d392f50e810aafaa691dfbd43
tree0960a8c54aa6f592f5d1cb8a7dbc116c9cb3836e
parented9f19cf77b70f4d6e881e388988ae8bcd6a1dd8
[PATCH] KVM: MMU: Write protect guest pages when a shadow is created for them

When we cache a guest page table into a shadow page table, we need to prevent
further access to that page by the guest, as that would render the cache
incoherent.

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
drivers/kvm/paging_tmpl.h