fix Oops at shutdown guest
PATCH 1/1 fix Oops at shutdown guest
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 <[email protected]>
Best Regards,
Akio Takebe
---
virt/kvm/kvm_main.c +1 -1
@@ -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); }
Avi Kivity
AppliedQuoted 6 lines · Akio Takebe
Hi,
I got a Oops message when I shutdown a guest on
x86_32machine. The patch fixes this issue.
Applied, thanks.
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.