]> git.baikalelectronics.ru Git - kernel.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)
commitcfcbc2979d13f6373f1d8379cbce3e9b3849c195
treecbb21a8efea0fb3fbd94689546b2f97e11dbf9d9
parent94a80ca02ef2fe6d392f50e810aafaa691dfbd43
[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