block: Add blk_insert_bs()
commit0c3c36d651922ebe9244e68e6d9ed14cdfcac9fd
authorMax Reitz <mreitz@redhat.com>
Mon, 19 Oct 2015 15:53:28 +0000 (19 17:53 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Oct 2015 16:18:23 +0000 (23 18:18 +0200)
tree5a18a67b49fb203a9712189094387818c6562897
parenta46fc9c95012f3d7ed2b29b59f042246d62a08d7
block: Add blk_insert_bs()

This function associates the given BlockDriverState with the given
BlockBackend.

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