Re: [Qemu-devel] [PATCH v4 09/16] qemu-img: Use BlockBackend as far as possible

2015-02-13 Thread Stefan Hajnoczi
On Thu, Feb 05, 2015 at 01:58:18PM -0500, Max Reitz wrote: > Although qemu-img already creates BlockBackends, it does not do accesses > to the images through them. This patch converts all of the bdrv_* calls > for which this is currently possible to blk_* calls. Most of the > remaining calls will p

Re: [Qemu-devel] [PATCH v4 09/16] qemu-img: Use BlockBackend as far as possible

2015-02-05 Thread Eric Blake
On 02/05/2015 11:58 AM, Max Reitz wrote: > Although qemu-img already creates BlockBackends, it does not do accesses > to the images through them. This patch converts all of the bdrv_* calls > for which this is currently possible to blk_* calls. Most of the > remaining calls will probably stay bdrv_

[Qemu-devel] [PATCH v4 09/16] qemu-img: Use BlockBackend as far as possible

2015-02-05 Thread Max Reitz
Although qemu-img already creates BlockBackends, it does not do accesses to the images through them. This patch converts all of the bdrv_* calls for which this is currently possible to blk_* calls. Most of the remaining calls will probably stay bdrv_* calls because they really do operate on the BDS