Re: [Qemu-devel] [PATCH v4 01/16] block: Lift some BDS functions to the BlockBackend

2015-02-13 Thread Stefan Hajnoczi
On Thu, Feb 05, 2015 at 01:58:10PM -0500, Max Reitz wrote: > Create the blk_* counterparts for the following bdrv_* functions (which > make sense to call on the BlockBackend level): > - bdrv_co_write_zeroes() > - bdrv_write_compressed() > - bdrv_truncate() > - bdrv_nb_sectors() > - bdrv_discard() >

Re: [Qemu-devel] [PATCH v4 01/16] block: Lift some BDS functions to the BlockBackend

2015-02-05 Thread Eric Blake
On 02/05/2015 11:58 AM, Max Reitz wrote: > Create the blk_* counterparts for the following bdrv_* functions (which > make sense to call on the BlockBackend level): > - bdrv_co_write_zeroes() > - bdrv_write_compressed() > - bdrv_truncate() > - bdrv_nb_sectors() > - bdrv_discard() > - bdrv_load_vmsta

[Qemu-devel] [PATCH v4 01/16] block: Lift some BDS functions to the BlockBackend

2015-02-05 Thread Max Reitz
Create the blk_* counterparts for the following bdrv_* functions (which make sense to call on the BlockBackend level): - bdrv_co_write_zeroes() - bdrv_write_compressed() - bdrv_truncate() - bdrv_nb_sectors() - bdrv_discard() - bdrv_load_vmstate() - bdrv_save_vmstate() Signed-off-by: Max Reitz ---