[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb: fix segfault when hot-unplugging usb host
From: |
Gonglei |
Subject: |
Re: [Qemu-devel] [PATCH] usb: fix segfault when hot-unplugging usb host adapter |
Date: |
Tue, 17 Mar 2015 20:10:26 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 2015/3/17 19:58, Gerd Hoffmann wrote:
>> + 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.
>
I'll look for this, thanks :)
Regards,
-Gonglei