Re: [Qemu-devel] [PATCH 05/10] block/json: Add bdrv_co_get_block_status()

2014-03-06 Thread Max Reitz
On 06.03.2014 00:22, Benoît Canet wrote: The Wednesday 05 Mar 2014 à 21:44:57 (+0100), Max Reitz wrote : On 05.03.2014 21:41, Benoît Canet wrote: The Wednesday 05 Mar 2014 à 21:10:03 (+0100), Max Reitz wrote : On 05.03.2014 17:11, Benoît Canet wrote: The Monday 03 Mar 2014 à 16:28:48 (+0100),

Re: [Qemu-devel] [PATCH 05/10] block/json: Add bdrv_co_get_block_status()

2014-03-05 Thread Benoît Canet
The Wednesday 05 Mar 2014 à 21:44:57 (+0100), Max Reitz wrote : > On 05.03.2014 21:41, Benoît Canet wrote: > >The Wednesday 05 Mar 2014 à 21:10:03 (+0100), Max Reitz wrote : > >>On 05.03.2014 17:11, Benoît Canet wrote: > >>>The Monday 03 Mar 2014 à 16:28:48 (+0100), Max Reitz wrote : > Implemen

Re: [Qemu-devel] [PATCH 05/10] block/json: Add bdrv_co_get_block_status()

2014-03-05 Thread Max Reitz
On 05.03.2014 21:41, Benoît Canet wrote: The Wednesday 05 Mar 2014 à 21:10:03 (+0100), Max Reitz wrote : On 05.03.2014 17:11, Benoît Canet wrote: The Monday 03 Mar 2014 à 16:28:48 (+0100), Max Reitz wrote : Implement this function in the same way as raw_bsd does: Acknowledge that this is a pas

Re: [Qemu-devel] [PATCH 05/10] block/json: Add bdrv_co_get_block_status()

2014-03-05 Thread Benoît Canet
The Wednesday 05 Mar 2014 à 21:10:03 (+0100), Max Reitz wrote : > On 05.03.2014 17:11, Benoît Canet wrote: > >The Monday 03 Mar 2014 à 16:28:48 (+0100), Max Reitz wrote : > >>Implement this function in the same way as raw_bsd does: Acknowledge > >>that this is a passthrough driver (always return BD

Re: [Qemu-devel] [PATCH 05/10] block/json: Add bdrv_co_get_block_status()

2014-03-05 Thread Max Reitz
On 05.03.2014 17:11, Benoît Canet wrote: The Monday 03 Mar 2014 à 16:28:48 (+0100), Max Reitz wrote : Implement this function in the same way as raw_bsd does: Acknowledge that this is a passthrough driver (always return BDRV_BLOCK_OFFSET_VALID and BDRV_BLOCK_DATA and derive the offset directly f

Re: [Qemu-devel] [PATCH 05/10] block/json: Add bdrv_co_get_block_status()

2014-03-05 Thread Benoît Canet
The Monday 03 Mar 2014 à 16:28:48 (+0100), Max Reitz wrote : > Implement this function in the same way as raw_bsd does: Acknowledge > that this is a passthrough driver (always return BDRV_BLOCK_OFFSET_VALID > and BDRV_BLOCK_DATA and derive the offset directly from the sector > index) and add BDRV_B

[Qemu-devel] [PATCH 05/10] block/json: Add bdrv_co_get_block_status()

2014-03-03 Thread Max Reitz
Implement this function in the same way as raw_bsd does: Acknowledge that this is a passthrough driver (always return BDRV_BLOCK_OFFSET_VALID and BDRV_BLOCK_DATA and derive the offset directly from the sector index) and add BDRV_BLOCK_RAW to the returned value. Signed-off-by: Max Reitz --- block