Am 07.07.2015 um 12:51 schrieb Peter Crosthwaite: >> qemu_log_mask(CPU_LOG_RESET, "Watchdog timer expired.\n"); >> @@ -80,6 +87,7 @@ static void wdt_diag288_realize(DeviceState *dev, Error >> **errp) >> { >> DIAG288State *diag288 = DIAG288(dev); >> >> + qemu_register_reset(diag288_reset, diag288); > > Doesn't seem right. Even if it is not a SBD it should still sit in the > QOM tree in a place where the reset is reached. Where is this device > in the QOM tree?
Hmm, to me it seems that qemu_devices_reset does only work for devices on a bus. This is a busless-device so the reset function gets not triggered. > > I.E. What string do you get with an object_get_canonical_path() of the > obj after machine init? path /machine/peripheral/watchdog0