Re: [Qemu-devel] [RFC 04/24] block: add bdrv_get_mapping()

2011-08-02 Thread Stefan Hajnoczi
On Fri, Jul 29, 2011 at 12:49:34AM -0400, Devin Nakamura wrote: > +/** > + * Gets a mapping from an offset in the image to an offset within a file > + * > + * All offsets are in bytes. Functions starts its search at offset > host_offset > + * + count (offset within the image, not the file offset)

[Qemu-devel] [RFC 04/24] block: add bdrv_get_mapping()

2011-07-28 Thread Devin Nakamura
Conflicts: block.h Signed-off-by: Devin Nakamura --- block.c | 29 + block.h |2 ++ 2 files changed, 31 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index 9530577..d0019c4 100644 --- a/block.c +++ b/block.c @@ -3082,3 +3082,32 @@ int bd