]> git.proxmox.com Git - mirror_qemu.git/commit
blockdev: Disentangle BlockDriverState and DriveInfo creation
authorMarkus Armbruster <armbru@redhat.com>
Fri, 12 Sep 2014 19:26:21 +0000 (21:26 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 25 Sep 2014 13:24:14 +0000 (15:24 +0200)
commita0f1eab157560d953e8460b066a362f034bbf717
tree778e316834f5e8672ac1ee5fc27cfcf986eef19f
parentd4362d642e5cfd50671eba250b5888a89a88691a
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>
blockdev.c