]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] KVM: MMU: Let the walker extract the target page gfn from the pte
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)
commit815af8d42ee3f844c0ceaf2104bd9c6a0bb1e26c
treecbb21a8efea0fb3fbd94689546b2f97e11dbf9d9
parent374cbac0333ddf5cf1c6637efaf7f3adcc67fd75
[PATCH] KVM: MMU: Let the walker extract the target page gfn from the pte

This fixes a problem where set_pte_common() looked for shadowed pages based on
the page directory gfn (a huge page) instead of the actual gfn being mapped.

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