]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] KVM: MMU: Handle misaligned accesses to write protected guest page tables
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:48 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:26 +0000 (23:55 -0800)
commit3f59661c203ed5d8cf127a9aaaf21ebad30fb073
tree7466256bb2117e1ef5cbb42d2f9a405e80baf5c9
parent795a25930b7da076dc832a00c08099a69c7d6a96
[PATCH] KVM: MMU: Handle misaligned accesses to write protected guest page tables

A misaligned access affects two shadow ptes instead of just one.

Since a misaligned access is unlikely to occur on a real page table, just zap
the page out of existence, avoiding further trouble.

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