]> err.no Git - linux-2.6/commit
[PATCH] KVM: MMU: Support emulated writes into RAM
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:44 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:25 +0000 (23:55 -0800)
commitda4a00f002239f72b0d7d0eeaa3b60100e2b1438
tree7c7e72ea1fd48025c029429b413e127a3a580c10
parent815af8d42ee3f844c0ceaf2104bd9c6a0bb1e26c
[PATCH] KVM: MMU: Support emulated writes into RAM

As the mmu write protects guest page table, we emulate those writes.  Since
they are not mmio, there is no need to go to userspace to perform them.

So, perform the writes in the kernel if possible, and notify the mmu about
them so it can take the approriate action.

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