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