]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] KVM: MMU: If emulating an instruction fails, try unprotecting the page
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)
commit50395771f97692b24890bc0c158588c68abaeba6
treeba134b0b42ca42c53e818073af8d51d73771c56b
parent7e152a2f227f30797f1f0bf453e909b0c3dc0173
[PATCH] KVM: MMU: If emulating an instruction fails, try unprotecting the page

A page table may have been recycled into a regular page, and so any
instruction can be executed on it.  Unprotect the page and let the cpu do its
thing.

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/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/mmu.c