Re: [Qemu-devel] [PATCH v3 02/14] block: Add blk_new_open()

2015-01-26 Thread Eric Blake
On 01/26/2015 08:00 AM, Max Reitz wrote: > blk_new_with_bs() creates a BlockBackend with an empty BlockDriverState > attached to it. Empty BDSs are not nice, therefore add an alternative > function which combines blk_new_with_bs() with bdrv_open(). > > Note: In contrast to bdrv_open() which takes

[Qemu-devel] [PATCH v3 02/14] block: Add blk_new_open()

2015-01-26 Thread Max Reitz
blk_new_with_bs() creates a BlockBackend with an empty BlockDriverState attached to it. Empty BDSs are not nice, therefore add an alternative function which combines blk_new_with_bs() with bdrv_open(). Note: In contrast to bdrv_open() which takes a BlockDriver parameter, blk_new_open() does not ta