commit | a0f1eab157560d953e8460b066a362f034bbf717 | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Fri Sep 12 21:26:21 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Sep 25 15:24:14 2014 +0200 |
tree | 778e316834f5e8672ac1ee5fc27cfcf986eef19f | |
parent | d4362d642e5cfd50671eba250b5888a89a88691a [diff] |
blockdev: Disentangle BlockDriverState and DriveInfo creation blockdev_init() mixes up BlockDriverState and DriveInfo initialization Finish the BlockDriverState job before starting to mess with DriveInfo. Easier on the eyes. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>