]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] KVM: MMU: Never free a shadow page actively serving as a root
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:51 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:26 +0000 (23:55 -0800)
commit3bb65a22a4502067f8cd3cb4c923ffa70be62091
treeb8ee904c9a4b99f0c8f58e93b257f653222e3ba0
parent86a5ba025d0a0b251817d0efbeaf7037d4175d21
[PATCH] KVM: MMU: Never free a shadow page actively serving as a root

We always need cr3 to point to something valid, so if we detect that we're
freeing a root page, simply push it back to the top of the active list.

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/mmu.c