Re: [Qemu-devel] [RFC 01/24] block: add block conversion api

2011-08-02 Thread Kevin Wolf
Am 02.08.2011 10:56, schrieb Stefan Hajnoczi: >> @@ -263,4 +345,10 @@ static inline unsigned int >> get_physical_block_exp(BlockConf *conf) >> DEFINE_PROP_UINT32("discard_granularity", _state, \ >> _conf.discard_granularity, 0) >> >> +struct BlockConversionOptions {

Re: [Qemu-devel] [RFC 01/24] block: add block conversion api

2011-08-02 Thread Stefan Hajnoczi
On Fri, Jul 29, 2011 at 12:49:31AM -0400, Devin Nakamura wrote: > +/** > + * Gets a mapping in the image file. > + * > + * The function starts searching for a mapping at > + * starting_guest_offset = guest_offset + contiguous_bytes > + * > + * @param bs[in]

Re: [Qemu-devel] [RFC 01/24] block: add block conversion api

2011-08-01 Thread Devin Nakamura
On Mon, Aug 1, 2011 at 9:34 AM, Kevin Wolf wrote: >> +    /** >> +     * Gets a mapping in the image file. >> +     * >> +     * The function starts searching for a mapping at >> +     * starting_guest_offset = guest_offset + contiguous_bytes >> +     * >> +     * @param bs[in]                   T

Re: [Qemu-devel] [RFC 01/24] block: add block conversion api

2011-08-01 Thread Kevin Wolf
Am 29.07.2011 06:49, schrieb Devin Nakamura: > add functions to block driver interface to support inplace image conversion > > Signed-off-by: Devin Nakamura > --- > block.h |2 + > block_int.h | 88 > +++ > 2 files changed, 90 in

[Qemu-devel] [RFC 01/24] block: add block conversion api

2011-07-28 Thread Devin Nakamura
add functions to block driver interface to support inplace image conversion Signed-off-by: Devin Nakamura --- block.h |2 + block_int.h | 88 +++ 2 files changed, 90 insertions(+), 0 deletions(-) diff --git a/block.h b/block.h in