commit | 26260580349e0369858f03f46ebaf9e31c2a780f | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed Mar 16 19:54:43 2016 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Mar 17 15:47:56 2016 +0100 |
tree | 4ae85d7b2c2a9e07eb5a1b058da9c2aa7308375a | |
parent | 981f4f578e6a0dfb2d02384941ea17f7ea1a14ec [diff] |
block: Rewrite bdrv_next() Instead of using the bdrv_states list, iterate over all the BlockDriverStates attached to BlockBackends, and over all the monitor-owned BDSs afterwards (except for those attached to a BB). Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>