Re: [Qemu-devel] [PATCH 4/4] qdev: switch reset to post-order

2013-12-19 Thread Michael S. Tsirkin
On Fri, Dec 06, 2013 at 05:54:27PM +0100, Paolo Bonzini wrote: > Post-order is the only sensible direction for the reset signals. > For example, suppose pre-order is used and the parent has some data > structures that cache children state (for example a list of active > requests). When the reset m

[Qemu-devel] [PATCH 4/4] qdev: switch reset to post-order

2013-12-06 Thread Paolo Bonzini
Post-order is the only sensible direction for the reset signals. For example, suppose pre-order is used and the parent has some data structures that cache children state (for example a list of active requests). When the reset method is invoked on the parent, these caches could be in any state. If

[Qemu-devel] [PATCH 4/4] qdev: switch reset to post-order

2013-10-03 Thread Paolo Bonzini
Post-order is the only sensible direction for the reset signals. For example, suppose pre-order is used and the parent has some data structures that cache children state (for example a list of active requests). When the reset method is invoked on the parent, these caches could be in any state. If