]> git.proxmox.com Git - mirror_qemu.git/commit - block/block-backend.c
block: Connect BlockBackend and DriveInfo
authorMarkus Armbruster <armbru@redhat.com>
Tue, 7 Oct 2014 11:59:06 +0000 (13:59 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 20 Oct 2014 11:41:26 +0000 (13:41 +0200)
commit18e46a033d67060c1430740cf8084b702955ae8f
tree23b97330842f6dff75096ba99718f96df3f891b9
parent7e7d56d9e05b340290669442cfa05f5869204572
block: Connect BlockBackend and DriveInfo

Make the BlockBackend own the DriveInfo.  Change blockdev_init() to
return the BlockBackend instead of the DriveInfo.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/block-backend.c
blockdev.c
include/sysemu/blockdev.h