]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: handle page removal with shadow mapping
authorMarcelo Tosatti <marcelo@kvack.org>
Mon, 17 Mar 2008 13:08:18 +0000 (10:08 -0300)
committerAvi Kivity <avi@qumranet.com>
Tue, 25 Mar 2008 08:22:17 +0000 (10:22 +0200)
commitbfc8ebda535617a8a76e28465508bd6a18751282
tree28f7aa56ee06f60030384f2de99d10449d6e5ed8
parent599d5a30b46627fcc9944db4bc694c67148517ad
KVM: MMU: handle page removal with shadow mapping

Do not assume that a shadow mapping will always point to the same host
frame number.  Fixes crash with madvise(MADV_DONTNEED).

[avi: move after first printk(), add another printk()]

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/mmu.c