commit | 0293214b8c5bf56a095d0a39c5821c9da66dd566 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Dec 06 17:54:26 2013 +0100 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Dec 23 13:12:35 2013 +0200 |
tree | 3c56eaae6e5e925488bb86e6430939a88b26eaf0 | |
parent | 9bdbbfc3a04c28dc43af5afffb32066623cb0022 [diff] |
qdev: allow both pre- and post-order vists in qdev walking functions Resetting should be done in post-order, not pre-order. However, qdev_walk_children and qbus_walk_children do not allow this. Fix it by adding two extra arguments to the functions. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>