[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [PATCH] usb: fix segfault when hot-unplugging usb host
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-stable] [PATCH] usb: fix segfault when hot-unplugging usb host adapter |
Date: |
Tue, 17 Mar 2015 12:58:57 +0100 |
> + qemu_unregister_reset(ehci_reset, s);
We should hook up reset via DeviceClass->reset then (xhci already does
it this way) and drop the qemu_register_reset() calls.
Then qemu will register and unregister the reset handler automatically
for us.
cheers,
Gerd