Re: [Qemu-devel] [PATCH v2 09/17] block: introduce bdrv_get_block_status API

2013-07-25 Thread Paolo Bonzini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 19/07/2013 15:43, Eric Blake ha scritto: > On 07/16/2013 10:29 AM, Paolo Bonzini wrote: >> For now, bdrv_get_block_status is just another name for >> bdrv_is_allocated. The next patches will add more flags. >> >> This also touches all block drivers

Re: [Qemu-devel] [PATCH v2 09/17] block: introduce bdrv_get_block_status API

2013-07-19 Thread Eric Blake
On 07/16/2013 10:29 AM, Paolo Bonzini wrote: > For now, bdrv_get_block_status is just another name for bdrv_is_allocated. > The next patches will add more flags. > > This also touches all block drivers with a mostly mechanical rename. The > sole exception is cow; because it calls cow_co_is_alloca

[Qemu-devel] [PATCH v2 09/17] block: introduce bdrv_get_block_status API

2013-07-16 Thread Paolo Bonzini
For now, bdrv_get_block_status is just another name for bdrv_is_allocated. The next patches will add more flags. This also touches all block drivers with a mostly mechanical rename. The sole exception is cow; because it calls cow_co_is_allocated from the read code, we keep that function and make