* [Patch] fix Oops at shutdown guest
@ 2008-06-17 7:22 Akio Takebe
2008-06-18 14:19 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Akio Takebe @ 2008-06-17 7:22 UTC (permalink / raw)
To: kvm
Hi,
I got a Oops message when I shutdown a guest on x86_32 machine.
The patch fixes this issue.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Best Regards,
Akio Takebe
---
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 4f38f5c..f9427e2 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -262,11 +262,11 @@ static void kvm_destroy_vm(struct kvm *kvm)
spin_unlock(&kvm_lock);
kvm_io_bus_destroy(&kvm->pio_bus);
kvm_io_bus_destroy(&kvm->mmio_bus);
- kvm_arch_destroy_vm(kvm);
#ifdef KVM_COALESCED_MMIO_PAGE_OFFSET
if (kvm->coalesced_mmio_ring != NULL)
free_page((unsigned long)kvm->coalesced_mmio_ring);
#endif
+ kvm_arch_destroy_vm(kvm);
mmdrop(mm);
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-18 14:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17 7:22 [Patch] fix Oops at shutdown guest Akio Takebe
2008-06-18 14:19 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox