[PATCH] KVM: MMU: Destroy mmu while we still have a vcpu left
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:55 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:27 +0000 (23:55 -0800)
commit9ede74e0af549d75d4ea870bed8b178983816745
tree930797bfc567b29c9a574faf2c085a5849e2332e
parent40907d5768ab8cadd4cad97bef350820ded20338
[PATCH] KVM: MMU: Destroy mmu while we still have a vcpu left

mmu_destroy flushes the guest tlb (indirectly), which needs a valid vcpu.

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_main.c