Il 23/04/2013 10:47, Jan Kiszka ha scritto: >> > if (val & LSI_ISTAT0_SRST) { >> > - lsi_soft_reset(s); >> > + qdev_reset_all(&s->dev.qdev); > What should ensure that all device resets are performed before the host > reset? I'm asking as we just ran into the assert(!s->current) over > 1.3.1. Or is there some patch from a later version missing (not seeing > anything suspicious for lsi at least)?
qdev should, but it looks like it uses pre-order instead of post-order. Paolo