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

2014-12-19 Thread Max Reitz
On 2014-12-18 at 16:19, Kevin Wolf wrote: Am 11.12.2014 um 14:20 hat Max Reitz geschrieben: 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(). N

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

2014-12-18 Thread Kevin Wolf
Am 11.12.2014 um 14:20 hat Max Reitz geschrieben: > 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() whi