[PATCH] KVM: make sure there is a vcpu context loaded when destroying the mmu
authorAvi Kivity <avi@qumranet.com>
Tue, 23 Jan 2007 04:40:38 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 23 Jan 2007 15:52:06 +0000 (07:52 -0800)
commit084384754ebe6636f9e5554ad30b3143b4a26c84
tree140022f23fa4e397b7d9f5c1ac54a55a2988f67f
parent0dbe5a111382fd1320ff4b1d889e5b8c41290619
[PATCH] KVM: make sure there is a vcpu context loaded when destroying the mmu

This makes the vmwrite errors on vm shutdown go away.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/kvm_main.c